ThePEG  1.8.0
Classes | Namespaces | Typedefs | Enumerations
TemplateTools.h File Reference

Useful template machinery. More...

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::BinaryOpTraits< T, U >
 BinaryOpTraits should be specialized with typdefs called MulT and DivT which gives the type resulting when multiplying and dividing the template argument types respectively. 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.
 

Enumerations

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

Detailed Description

Useful template machinery.

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

Definition in file TemplateTools.h.