cxxtools::TypeTraits< T > Struct Template Reference

Type-traits for for non-const value types. More...

#include <cxxtools/typetraits.h>

Inheritance diagram for cxxtools::TypeTraits< T >:
cxxtools::TypeTraitsBase< T >

Static Public Attributes

static const unsigned int isConst = 0
static const unsigned int isPointer = 0
static const unsigned int isReference = 0

Additional Inherited Members

- Public Types inherited from cxxtools::TypeTraitsBase< T >
typedef T Value
typedef const T ConstValue
typedef T & Reference
typedef const T & ConstReference
typedef T * Pointer
typedef const T * ConstPointer

Detailed Description

template<typename T>
struct cxxtools::TypeTraits< T >

Type-traits for for non-const value types.

Compile time type information (CTTI) is implemented in cxxtools by the means of TypeTraits. A number of specialisations allows compile type branching in gerneric code depending on the type.

Member Data Documentation

template<typename T >
const unsigned int cxxtools::TypeTraits< T >::isConst = 0
static
template<typename T >
const unsigned int cxxtools::TypeTraits< T >::isPointer = 0
static
template<typename T >
const unsigned int cxxtools::TypeTraits< T >::isReference = 0
static

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