ustl::tm::TypeTraits< T > Class Template Reference

#include <traits.h>

List of all members.


Public Types

enum  { isConst = UnConst<T>::isConst }
enum  { isVolatile = UnVolatile<T>::isVolatile }
enum  { isReference = ReferenceTraits<UnqualifiedType>::result }
enum  { isFunction = FunctionPointerTraits<typename AddPointer<T>::Result >::result }
enum  { isFunctionPointer }
enum  { isMemberFunctionPointer }
enum  { isMemberPointer }
enum  { isPointer }
enum  {
  isStdUnsignedInt = tl::IndexOf<StdUnsignedInts,
  value,
  value
}
enum  {
  isStdSignedInt = tl::IndexOf<StdSignedInts,
  value,
  value
}
enum  {
  isStdIntegral,
  value,
  value
}
enum  {
  isStdFloat = tl::IndexOf<StdFloats,
  value,
  value
}
enum  { isStdArith = isStdIntegral || isStdFloat }
enum  {
  isStdFundamental = isStdArith || isStdFloat || Conversion<T,
  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 Sun Feb 17 15:16:21 2008 for uSTL by 1.5.2 Doxygen Hosted on SourceForge.net