Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
PTL::JoinFunction< void, void > Struct Reference

#include <JoinFunction.hh>

Public Types

using Type = std::function< void()>
 

Public Member Functions

template<typename Func >
 JoinFunction (Func &&func)
 
void operator() ()
 

Detailed Description

Definition at line 93 of file JoinFunction.hh.

Member Typedef Documentation

◆ Type

using PTL::JoinFunction< void, void >::Type = std::function<void()>

Definition at line 96 of file JoinFunction.hh.

Constructor & Destructor Documentation

◆ JoinFunction()

template<typename Func >
PTL::JoinFunction< void, void >::JoinFunction ( Func &&  func)
inline

Definition at line 102 of file JoinFunction.hh.

103 : m_func(std::forward<Func>(func))
104 {}

Member Function Documentation

◆ operator()()

void PTL::JoinFunction< void, void >::operator() ( )
inline

Definition at line 106 of file JoinFunction.hh.

106{ m_func(); }

The documentation for this struct was generated from the following file: