isEnumType< T > Struct Template Reference

isEnumType<T>::value is a compile time constant that is only true if T is an enumeration type -- and not simple arithmetic value, pointer, class, function pointer, etc. More...

#include <classTraits.h>

List of all members.

Public Types

enum  {
  value,
  sizeof = ( f(t) ) != sizeof(char)
}
typedef removeCV< T >::type mutableType
typedef removeReference
< mutableType >::type 
UnrefType

Static Public Member Functions

static int f (...)
static char f (long double &)
static char f (double &)
static char f (float &)
static char f (long long &)
static char f (long &)
static char f (short &)
static char f (int &)
static char f (char &)
static char f (unsigned long long &)
static char f (unsigned long &)
static char f (unsigned short &)
static char f (unsigned int &)
static char f (unsigned char &)

Static Public Attributes

static UnrefType t

Detailed Description

template<class T>
struct cxxtls::isEnumType< T >

isEnumType<T>::value is a compile time constant that is only true if T is an enumeration type -- and not simple arithmetic value, pointer, class, function pointer, etc.

See also:
classTraits_documentation

Definition at line 946 of file classTraits.h.


Member Typedef Documentation

typedef removeCV<T>::type mutableType

Definition at line 954 of file classTraits.h.

Definition at line 955 of file classTraits.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
value 
sizeof 

Definition at line 976 of file classTraits.h.


Member Function Documentation

static int f (   ...  )  [static]
static char f ( long double &   )  [static]
static char f ( double &   )  [static]
static char f ( float &   )  [static]
static char f ( long long &   )  [static]
static char f ( long &   )  [static]
static char f ( short &   )  [static]
static char f ( int &   )  [static]
static char f ( char &   )  [static]
static char f ( unsigned long long &   )  [static]
static char f ( unsigned long &   )  [static]
static char f ( unsigned short &   )  [static]
static char f ( unsigned int &   )  [static]
static char f ( unsigned char &   )  [static]

Member Data Documentation

UnrefType t [static]

Definition at line 974 of file classTraits.h.


The documentation for this struct was generated from the following file:
Generated on Wed Feb 29 22:55:54 2012 for CXXUtilities by  doxygen 1.6.3