ThePEG 2.3.0
|
Type traits for built-in types. More...
#include <TemplateTools.h>
Public Types | |
enum | { hasDimension = false } |
Boolean flag. Is true for physical quantities. More... | |
typedef StandardT | DimType |
Implementation selector. | |
Static Public Member Functions | |
template<typename U = T> | |
static constexpr std::enable_if<(std::is_arithmetic< U >::value &&std::is_same< U, T >::value), U >::type | baseunit () |
Base unit for arithmetic types. | |
Type traits for built-in types.
Definition at line 48 of file TemplateTools.h.
typedef StandardT ThePEG::TypeTraits< T >::DimType |
Implementation selector.
Definition at line 53 of file TemplateTools.h.
anonymous enum |
Boolean flag. Is true for physical quantities.
Definition at line 51 of file TemplateTools.h.
|
inlinestaticconstexpr |
Base unit for arithmetic types.
Definition at line 61 of file TemplateTools.h.