![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <TypeTraits.hpp>
Public Types | |
| enum | { isPointer = PointerTraits<T>::result } |
| Is type a pointer? More... | |
| enum | { isReference = ReferenceTraits<T>::result } |
| Is type a reference? More... | |
| enum | { isConst = ConstTraits<T>::result } |
| Is type const? More... | |
| enum | { propNumber = 4*isPointer + 2*isReference + 1*isConst } |
| Return properties of type as octal. More... | |
| enum | { Plain = 0, Const = 1, Reference = 2, ConstReference = 3, Pointer = 4, ConstPointer = 5 } |
| Represent types in octal notation. More... | |
| typedef ConstTraits< T >::ConstType | ConstType |
| typedef PointerTraits< T > ::PointeeType | PointeeType |
| typedef ReferenceTraits< T > ::ReferenceType | ReferenceType |
Classes | |
| struct | ConstTraits |
| struct | wns::TypeTraits::ConstTraits< const U & > |
| struct | wns::TypeTraits::ConstTraits< const U * > |
| struct | wns::TypeTraits::ConstTraits< const U > |
| struct | wns::TypeTraits::ConstTraits< U & > |
| struct | PointerTraits |
| struct | wns::TypeTraits::PointerTraits< U * > |
| struct | ReferenceTraits |
| struct | wns::TypeTraits::ReferenceTraits< U & > |
Definition at line 38 of file TypeTraits.hpp.
| typedef ConstTraits<T>::ConstType wns::TypeTraits< T >::ConstType |
Definition at line 154 of file TypeTraits.hpp.
| typedef PointerTraits<T>::PointeeType wns::TypeTraits< T >::PointeeType |
Definition at line 136 of file TypeTraits.hpp.
| typedef ReferenceTraits<T>::ReferenceType wns::TypeTraits< T >::ReferenceType |
Definition at line 145 of file TypeTraits.hpp.
| anonymous enum |
| anonymous enum |
| anonymous enum |
| anonymous enum |
| anonymous enum |
Definition at line 167 of file TypeTraits.hpp.
1.5.5