6#ifndef FIRE_IO_CLASSVERSION_H
7#define FIRE_IO_CLASSVERSION_H
16namespace class_version_impl {
26template<
class T,
class R =
void>
39template<
class T,
class Enable =
void>
57 using version =
typename T::version;
83#define fire_class_version(VERS) using version = std::integral_constant<int,VERS>
Geant4 does a GLOBAL definition of the keyword TRUE.
Definition: AbstractData.h:11
constexpr int class_version
Helper const expression to pull out class version number.
Definition: ClassVersion.h:72
Underlying struct deducing the version of a class.
Definition: ClassVersion.h:40
Check if the passed type T is a valid type at compile time.
Definition: ClassVersion.h:27