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 . | |
typedef FunctionPtrTraits< T > | FunctionPointerTraits |
Function pointer traits. | |
typedef UnConst< T >::Result | NonConstType |
Not a const type. | |
typedef PointerTraits< T >::PointeeType | PointeeType |
Pointee type. | |
typedef PtrToMemberTraits< T > | PointerToMemberTraits |
Pointer to member traits type. | |
typedef PtrBase< T >::Type | PtrBaseType |
Ptr base type. | |
typedef ReferenceTraits< T >::ReferencedType | ReferencedType |
Referenced type. | |
Inspect a type to deduce its features.
T | [deduced] The type to inspect. |
Definition at line 29 of file type-traits.h.
typedef Base<T>::Type ns3::TypeTraits< T >::BaseType |
Base type, after removing &
, *
and const
.
Definition at line 851 of file type-traits.h.
typedef FunctionPtrTraits<T> ns3::TypeTraits< T >::FunctionPointerTraits |
Function pointer traits.
Definition at line 873 of file type-traits.h.
typedef UnConst<T>::Result ns3::TypeTraits< T >::NonConstType |
Not a const type.
Definition at line 845 of file type-traits.h.
typedef PointerTraits<T>::PointeeType ns3::TypeTraits< T >::PointeeType |
Pointee type.
Definition at line 849 of file type-traits.h.
typedef PtrToMemberTraits<T> ns3::TypeTraits< T >::PointerToMemberTraits |
Pointer to member traits type.
Definition at line 871 of file type-traits.h.
typedef PtrBase<T>::Type ns3::TypeTraits< T >::PtrBaseType |
Ptr base type.
Definition at line 853 of file type-traits.h.
typedef ReferenceTraits<T>::ReferencedType ns3::TypeTraits< T >::ReferencedType |
Referenced type.
Definition at line 847 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 856 of file type-traits.h.