![]() |
ezEngine Release 26.3
|
Utility template for extracting clean types from decorated types. More...
#include <TypeTraits.h>
Public Types | |
| using | NonConstType = typename std::remove_const< T >::type |
| Removes const qualifier: const int -> int. | |
| using | NonReferenceType = typename std::remove_reference< T >::type |
| Removes reference qualifier: int& -> int, int&& -> int. | |
| using | NonPointerType = typename std::remove_pointer< T >::type |
| Removes pointer qualifier: int* -> int. | |
| using | NonConstReferenceType = typename std::remove_const< typename std::remove_reference< T >::type >::type |
| Removes both reference and const qualifiers: const int& -> int. | |
| using | NonReferencePointerType = typename std::remove_pointer< typename std::remove_reference< T >::type >::type |
| Removes both reference and pointer qualifiers: int*& -> int. | |
| using | NonConstReferencePointerType = typename std::remove_const< typename std::remove_reference< typename std::remove_pointer< T >::type >::type >::type |
| Removes reference, const, and pointer qualifiers from the pointed-to type. | |
Utility template for extracting clean types from decorated types.
| using ezTypeTraits< T >::NonConstReferencePointerType = typename std::remove_const<typename std::remove_reference<typename std::remove_pointer<T>::type>::type>::type |
Removes reference, const, and pointer qualifiers from the pointed-to type.
Note: This operates on the pointed-to type, not the pointer itself. Example: const int*& -> int (not int*)