libstdc++
Metaprogramming and type traits
Collaboration diagram for Metaprogramming and type traits:

Classes

struct  std::add_const< _Tp >
 add_const More...
struct  std::add_cv< _Tp >
 add_cv More...
struct  std::add_lvalue_reference< _Tp >
 add_lvalue_reference More...
struct  std::add_pointer< _Tp >
 add_pointer More...
struct  std::add_rvalue_reference< _Tp >
 add_rvalue_reference More...
struct  std::add_volatile< _Tp >
 add_volatile More...
struct  std::aligned_storage< _Len, _Align >
 Alignment type. More...
struct  std::alignment_of< _Tp >
 alignment_of More...
struct  std::conditional< _Cond, _Iftrue, _Iffalse >
 Define a member typedef type to one of two argument types. More...
class  std::decay< _Tp >
 decay More...
struct  std::enable_if< bool, _Tp >
 Define a member typedef type only if a boolean constant is true. More...
struct  std::extent< typename, _Uint >
 extent More...
struct  std::has_trivial_copy_assign< _Tp >
 has_trivial_copy_assign More...
struct  std::has_trivial_copy_constructor< _Tp >
 has_trivial_copy_constructor More...
struct  std::has_trivial_default_constructor< _Tp >
 has_trivial_default_constructor More...
struct  std::has_trivial_destructor< _Tp >
 has_trivial_destructor More...
struct  std::has_virtual_destructor< _Tp >
 has_virtual_destructor More...
struct  std::integral_constant< _Tp, __v >
 integral_constant More...
struct  std::is_abstract< _Tp >
 is_abstract More...
struct  std::is_arithmetic< _Tp >
 is_arithmetic More...
struct  std::is_array< typename >
 is_array More...
struct  std::is_assignable< _Tp, _Up >
 is_assignable More...
struct  std::is_base_of< _Base, _Derived >
 is_base_of More...
struct  std::is_class< _Tp >
 is_class More...
struct  std::is_compound< _Tp >
 is_compound More...
struct  std::is_const< typename >
 is_const More...
struct  std::is_constructible< _Tp, _Args >
 is_constructible More...
struct  std::is_convertible< _From, _To >
 is_convertible More...
struct  std::is_copy_assignable< _Tp >
 is_copy_assignable More...
struct  std::is_copy_constructible< _Tp >
 is_copy_constructible More...
struct  std::is_default_constructible< _Tp >
 is_default_constructible More...
struct  std::is_destructible< _Tp >
 is_destructible More...
struct  std::is_empty< _Tp >
 is_empty More...
struct  std::is_enum< _Tp >
 is_enum More...
struct  std::is_explicitly_convertible< _From, _To >
 is_explicitly_convertible More...
struct  std::is_floating_point< _Tp >
 is_floating_point More...
struct  std::is_function< typename >
 is_function More...
struct  std::is_fundamental< _Tp >
 is_fundamental More...
struct  std::is_integral< _Tp >
 is_integral More...
struct  std::is_literal_type< _Tp >
 is_literal_type More...
struct  std::is_lvalue_reference< typename >
 is_lvalue_reference More...
struct  std::is_member_function_pointer< _Tp >
 is_member_function_pointer More...
struct  std::is_member_object_pointer< _Tp >
 is_member_object_pointer More...
struct  std::is_member_pointer< _Tp >
 is_member_pointer More...
struct  std::is_move_assignable< _Tp >
 is_move_assignable More...
struct  std::is_move_constructible< _Tp >
 is_move_constructible More...
struct  std::is_nothrow_assignable< _Tp, _Up >
 is_nothrow_assignable More...
struct  std::is_nothrow_constructible< _Tp, _Args >
 is_nothrow_constructible More...
struct  std::is_nothrow_copy_assignable< _Tp >
 is_nothrow_copy_assignable More...
struct  std::is_nothrow_copy_constructible< _Tp >
 is_nothrow_copy_constructible More...
struct  std::is_nothrow_default_constructible< _Tp >
 is_nothrow_default_constructible More...
struct  std::is_nothrow_move_assignable< _Tp >
 is_nothrow_move_assignable More...
struct  std::is_nothrow_move_constructible< _Tp >
 is_nothrow_move_constructible More...
struct  std::is_object< _Tp >
 is_object More...
struct  std::is_pod< _Tp >
 is_pod More...
struct  std::is_pointer< _Tp >
 is_pointer More...
struct  std::is_polymorphic< _Tp >
 is_polymorphic More...
struct  std::is_reference< _Tp >
 is_reference More...
struct  std::is_rvalue_reference< typename >
 is_rvalue_reference More...
struct  std::is_same< typename, typename >
 is_same More...
struct  std::is_scalar< _Tp >
 is_scalar More...
struct  std::is_signed< _Tp >
 is_signed More...
struct  std::is_standard_layout< _Tp >
 is_standard_layout More...
struct  std::is_trivial< _Tp >
 is_trivial More...
struct  std::is_union< _Tp >
 is_union More...
struct  std::is_unsigned< _Tp >
 is_unsigned More...
struct  std::is_void< _Tp >
 is_void More...
struct  std::is_volatile< typename >
 is_volatile More...
struct  std::make_signed< _Tp >
 make_signed More...
struct  std::make_unsigned< _Tp >
 make_unsigned More...
struct  std::rank< typename >
 rank More...
struct  std::remove_all_extents< _Tp >
 remove_all_extents More...
struct  std::remove_const< _Tp >
 remove_const More...
struct  std::remove_cv< _Tp >
 remove_cv More...
struct  std::remove_extent< _Tp >
 remove_extent More...
struct  std::remove_pointer< _Tp >
 remove_pointer More...
struct  std::remove_reference< _Tp >
 remove_reference More...
struct  std::remove_volatile< _Tp >
 remove_volatile More...
struct  std::tr2::__reflection_typelist< _First, _Rest...>
 Partial specialization. More...
struct  std::tr2::__reflection_typelist<>
 Specialization for an empty typelist. More...
struct  std::tr2::bases< _Tp >
 Sequence abstraction metafunctions for manipulating a typelist. More...
struct  std::tr2::direct_bases< _Tp >
 Enumerate all the direct base classes of a class. Form of a typelist. More...
struct  std::underlying_type< _Tp >
 The underlying type of an enum. More...

Macros

#define _GLIBCXX_HAS_NESTED_TYPE(_NTYPE)

Typedefs

typedef integral_constant
< bool, false > 
std::false_type
typedef integral_constant
< bool, true > 
std::true_type

Variables

static constexpr _Tp std::integral_constant< _Tp, __v >::value

Detailed Description

Template utilities for compile-time introspection and modification, including type classification traits, type property inspection traits and type transformation traits.


Macro Definition Documentation

#define _GLIBCXX_HAS_NESTED_TYPE (   _NTYPE)

Use SFINAE to determine if the type _Tp has a publicly-accessible member type _NTYPE.

Definition at line 1877 of file type_traits.


Typedef Documentation

typedef integral_constant<bool, false> std::false_type

The type used as a compile-time boolean with false value.

Definition at line 69 of file type_traits.

typedef integral_constant<bool, true> std::true_type

The type used as a compile-time boolean with true value.

Definition at line 66 of file type_traits.