Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.
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);
Copyright © 1999-2024 by the D Language Foundation | Page generated by
Ddoc on (no date time)