thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
TemplateTools.h File Reference

Useful template machinery. More...

#include <type_traits>

Go to the source code of this file.

Classes

struct  ThePEG::Int2Type< v >
 Conversion between integers and types. More...
 
struct  ThePEG::DummyType
 Dummy type for ambiguous function signatures. More...
 
struct  ThePEG::TypeTraits< T >
 Type traits for built-in types. More...
 

Namespaces

 ThePEG
 This is the main namespace within which all identifiers in ThePEG are declared.
 

Typedefs

typedef Int2Type< Dimensioned > ThePEG::DimensionT
 Typedef for dimensioned types.
 
typedef Int2Type< Standard > ThePEG::StandardT
 Typedef for non-dimensioned types.
 
typedef Int2Type< Enumerated > ThePEG::EnumT
 Typedef for non-dimensioned types.
 

Enumerations

enum  ThePEG::ImplSelector { Dimensioned, Standard, Enumerated }
 Selection mechanism for type-dependent implementations.
 

Detailed Description

Useful template machinery.

Based on Alexandrescu, "Modern C++ Design".

Definition in file TemplateTools.h.