libcommonc++  0.7
EnumTraits.h++ File Reference
#include <commonc++/Common.h++>
#include <cstring>
#include <utility>
#include <vector>
Include dependency graph for EnumTraits.h++:

Go to the source code of this file.

Classes

class  EnumTraits< E >
 A class of functions that describe traits of an enumeration. More...
 
class  EnumMap< E >
 A bidirectional mapping between enum values and static string constants. More...
 

Namespaces

 ccxx
 

Functions

template<typename T , typename E >
enum_cast (T val)
 Safe enumeration cast. More...
 
template<typename T , typename E >
enum_cast (T val, E defval)
 Safe enumeration cast. More...