Public Types | Static Public Member Functions | List of all members
nameGetter Class Reference

Returns the compiler specific ie. non-standard name of the type. More...

#include <TypeUtils.h>

Public Types

typedef const char * value_t
 

Static Public Member Functions

template<class S , class T >
static T callback ()
 

Detailed Description

Returns the compiler specific ie. non-standard name of the type.

\tparam N - is numeric
\tparam T - is integer
\tparam S - is signed

template <bool N, bool T, bool S> //, std::string STR = ""> struct numInfo { //: protected numInfoBase { static std::string s; };

Default: non-numeric (N==false) template <bool N, bool T, bool S> std::string complexName::numInfo<N,T,S>::s("non-numeric");

Numeric, float template <bool S> struct complexName::numInfo<true,false,S> { static std::string s; };

template <bool S> std::string complexName::numInfo<true,false,S>::s("float");

Numeric, integer template <bool S> struct complexName::numInfo<true,true,S> { static std::string s; //("non-numeric"); };

template <> std::string complexName::numInfo<true,true,true>::s("signed integer");

template <> std::string complexName::numInfo<true,true,false>::s("unsigned integer");


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