15 #ifndef polybori_literals_CStringLiteral_h_ 16 #define polybori_literals_CStringLiteral_h_ 34 template <
unsigned LitCode = CLiteralCodes::first_code>
48 literal_type operator()()
const;
52 #define GENERATE_CSTRINGLITERAL(CODE, STRING) \ 53 template <> inline CStringLiteral<>::literal_type \ 54 CStringLiteral<CLiteralCodes::CODE>::operator()() const{ return STRING; } 68 #undef GENERATE_CSTRINGLITERAL ~CStringLiteral()
Destructor.
Definition: CStringLiteral.h:45
std::string literal_type
Type for string literals.
Definition: CStringLiteral.h:39
This template class defines string literals corresponding to the codes enumerated in the class CLiter...
Definition: CStringLiteral.h:35
#define BEGIN_NAMESPACE_PBORI
Start project's namespace.
Definition: pbori_defs.h:74
#define GENERATE_CSTRINGLITERAL(CODE, STRING)
Definition: CStringLiteral.h:52
CStringLiteral()
Default constructor.
Definition: CStringLiteral.h:42