Public Types | List of all members
ustl::tm::TypeTraits< T > Class Template Reference

#include <traits.h>

Public Types

enum  
 
enum  
 
enum  { isReference = ReferenceTraits<UnqualifiedType>::result }
 
enum  { isLValue = ReferenceTraits<UnqualifiedType>::lvalue }
 
enum  { isRValue = ReferenceTraits<UnqualifiedType>::rvalue }
 
enum  { isFunction = FunctionPointerTraits<typename AddPointer<T>::Result >::result }
 
enum  { isFunctionPointer }
 
enum  { isMemberFunctionPointer }
 
enum  { isMemberPointer }
 
enum  { isPointer }
 
enum  {
  isStdUnsignedInt,
  value = 0
}
 
enum  {
  isStdSignedInt,
  value = 0
}
 
enum  {
  isStdIntegral,
  value = 0
}
 
enum  {
  isStdFloat,
  value = 0
}
 
enum  { isStdArith = isStdIntegral || isStdFloat }
 
enum  { isStdFundamental = isStdArith || isStdFloat || Conversion<T, void>::sameType }
 
enum  { isUnsignedInt = isStdUnsignedInt }
 
enum  { isSignedInt = isStdSignedInt }
 
enum  { isIntegral = isStdIntegral || isUnsignedInt || isSignedInt }
 
enum  { isFloat = isStdFloat }
 
enum  { isArith = isIntegral || isFloat }
 
enum  { isFundamental = isStdFundamental || isArith }
 
typedef UnConst< T >::Result NonConstType
 
typedef UnVolatile< T >::Result NonVolatileType
 
typedef UnVolatile< typename UnConst< T >::Result >::Result UnqualifiedType
 
typedef PointerTraits< UnqualifiedType >::PointeeType PointeeType
 
typedef ReferenceTraits< T >::ReferredType ReferredType
 
typedef Select< isStdArith||isPointer||isMemberPointer, T, typename AddParameterType< T >::Result >::Result ParameterType
 

Detailed Description

template<typename T>
class ustl::tm::TypeTraits< T >

Figures out at compile time various properties of any given type Invocations (T is a type, TypeTraits<T>::Propertie):


The documentation for this class was generated from the following file:

Generated on Mon Sep 28 2015 17:58:50 for uSTL by Doxygen 1.8.10