1 #ifndef gen_FortranInstance_h 2 #define gen_FortranInstance_h 22 template<
typename T>
T call(
T(&fn)())
24 template<
typename A>
void call(
void(&fn)(
A),
A a)
26 template<
typename T,
typename A>
T call(
T(&fn)(
A),
A a)
28 template<
typename A1,
typename A2>
void call(
void(&fn)(A1, A2), A1 a1, A2 a2)
30 template<
typename T,
typename A1,
typename A2>
T call(
T(&fn)(A1, A2), A1 a1, A2 a2)
95 #endif // gen_FortranInstance_h
static void throwMissingInstance()
InstanceWrapper(FortranInstance *instance)
T call(T(&fn)(A1, A2), A1 a1, A2 a2)
static FortranInstance * currentInstance
static const std::string kFortranInstance
FortranInstance * instance
void call(void(&fn)(A), A a)
void call(void(&fn)(A1, A2), A1 a1, A2 a2)
virtual ~FortranInstance() noexcept(false)
static HepMC::HEPEVT_Wrapper wrapper