Sauce-0.10.1
A C++ Dependency Injection Framework
Public Types | Public Member Functions | Static Public Member Functions | List of all members
sauce::internal::ApplyVoidFunction< Parameters, void(*)()> Class Template Reference

Public Types

typedef void(* Signature) ()
 
typedef void(* Function) ()
 

Public Member Functions

 ApplyVoidFunction (Function function)
 
template<typename Passed >
void apply (Passed)
 

Static Public Member Functions

static int arity ()
 

Constructor & Destructor Documentation

◆ ApplyVoidFunction()

template<typename Parameters >
sauce::internal::ApplyVoidFunction< Parameters, void(*)()>::ApplyVoidFunction ( Function  function)
inline
126 :
127 function(function) {}

Member Function Documentation

◆ apply()

template<typename Parameters >
template<typename Passed >
void sauce::internal::ApplyVoidFunction< Parameters, void(*)()>::apply ( Passed  )
inline
134 {
135 function();
136 }

◆ arity()

template<typename Parameters >
static int sauce::internal::ApplyVoidFunction< Parameters, void(*)()>::arity ( )
inlinestatic
129 {
130 return 0;
131 }

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