core.stdcpp.type_traits

D header file for interaction with C++ std::type_traits.

License:
Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)
Authors:
Manu Evans
Source
core/stdcpp/type_traits.d
struct integral_constant(T, T Val);
enum T value;
alias value_type = T;
alias type = typeof(this);
template bool_constant(bool b)
alias true_type = integral_constant!(bool, true).integral_constant;
alias false_type = integral_constant!(bool, false).integral_constant;
struct is_empty(T);
enum bool value;
alias value_type = bool;
alias type = integral_constant!(bool, value);

© 1999–2021 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/core_stdcpp_type_traits.html