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 861 of file type-traits.h.
typedef FunctionPtrTraits<T> ns3::TypeTraits< T >::FunctionPointerTraits |
Function pointer traits.
Definition at line 883 of file type-traits.h.
typedef UnConst<T>::Result ns3::TypeTraits< T >::NonConstType |
Not a const type.
Definition at line 855 of file type-traits.h.
typedef PointerTraits<T>::PointeeType ns3::TypeTraits< T >::PointeeType |
Pointee type.
Definition at line 859 of file type-traits.h.
typedef PtrToMemberTraits<T> ns3::TypeTraits< T >::PointerToMemberTraits |
Pointer to member traits type.
Definition at line 881 of file type-traits.h.
typedef PtrBase<T>::Type ns3::TypeTraits< T >::PtrBaseType |
Ptr base type.
Definition at line 863 of file type-traits.h.
typedef ReferenceTraits<T>::ReferencedType ns3::TypeTraits< T >::ReferencedType |
Referenced type.
Definition at line 857 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 866 of file type-traits.h.