15 namespace class_version_impl {
25 template <
class T,
class R =
void>
40 template <
class T,
class Enable =
void>
42 using version = std::integral_constant<int, 0>;
58 using version =
typename T::version;
85 #define hdtree_class_version(VERS) \
86 using version = std::integral_constant<int, VERS>
Geant4 does a GLOBAL definition of the keyword TRUE.
Definition: Atomic.cxx:3
constexpr int class_version
Helper const expression to pull out class version number.
Definition: ClassVersion.h:73
Underlying struct deducing the version of a class.
Definition: ClassVersion.h:41
Check if the passed type T is a valid type at compile time.
Definition: ClassVersion.h:26