Inspect a type to deduce its features. More...
#include "type-traits.h"
Public Types | |
enum | { IsPointerToMember = PtrToMemberTraits<T>::IsPointerToMember , IsPointer = PointerTraits<T>::IsPointer , IsPtr = PointerTraits<T>::IsPtr , IsReference = ReferenceTraits<T>::IsReference , IsFunctionPointer = FunctionPtrTraits<T>::IsFunctionPointer } |
Predicates. More... | |
typedef Base< T >::Type | BaseType |
Base type, after removing & , * and const . More... | |
typedef FunctionPtrTraits< T > | FunctionPointerTraits |
Function pointer traits. More... | |
typedef UnConst< T >::Result | NonConstType |
Not a const type. More... | |
typedef PointerTraits< T >::PointeeType | PointeeType |
Pointee type. More... | |
typedef PtrToMemberTraits< T > | PointerToMemberTraits |
Pointer to member traits type. More... | |
typedef PtrBase< T >::Type | PtrBaseType |
Ptr base type. More... | |
typedef ReferenceTraits< T >::ReferencedType | ReferencedType |
Referenced type. More... | |
Inspect a type to deduce its features.
T | [deduced] The type to inspect. |
Definition at line 39 of file type-traits.h.
typedef Base<T>::Type ns3::TypeTraits< T >::BaseType |
Base type, after removing &
, *
and const
.
Definition at line 770 of file type-traits.h.
typedef FunctionPtrTraits<T> ns3::TypeTraits< T >::FunctionPointerTraits |
Function pointer traits.
Definition at line 790 of file type-traits.h.
typedef UnConst<T>::Result ns3::TypeTraits< T >::NonConstType |
Not a const type.
Definition at line 764 of file type-traits.h.
typedef PointerTraits<T>::PointeeType ns3::TypeTraits< T >::PointeeType |
Pointee type.
Definition at line 768 of file type-traits.h.
typedef PtrToMemberTraits<T> ns3::TypeTraits< T >::PointerToMemberTraits |
Pointer to member traits type.
Definition at line 788 of file type-traits.h.
typedef PtrBase<T>::Type ns3::TypeTraits< T >::PtrBaseType |
Ptr base type.
Definition at line 772 of file type-traits.h.
typedef ReferenceTraits<T>::ReferencedType ns3::TypeTraits< T >::ReferencedType |
Referenced type.
Definition at line 766 of file type-traits.h.
anonymous enum |
Predicates.
Enumerator | |
---|---|
IsPointerToMember | Pointer to member predicate. |
IsPointer | Pointer predicate. |
IsPtr | Ptr predicate. |
IsReference | Reference predicate. |
IsFunctionPointer | Function pointer predicate. |
Definition at line 774 of file type-traits.h.