RetroArch
Public Member Functions | Public Attributes | List of all members
peg::Action::TypeAdaptor_c< R > Struct Template Reference

Public Member Functions

 TypeAdaptor_c (std::function< R(const SemanticValues &sv, any &dt)> fn)
 
any operator() (const SemanticValues &sv, any &dt)
 

Public Attributes

std::function< R(const SemanticValues &sv, any &dt)> fn_
 

Constructor & Destructor Documentation

◆ TypeAdaptor_c()

template<typename R >
peg::Action::TypeAdaptor_c< R >::TypeAdaptor_c ( std::function< R(const SemanticValues &sv, any &dt)>  fn)
inline

Member Function Documentation

◆ operator()()

template<typename R >
any peg::Action::TypeAdaptor_c< R >::operator() ( const SemanticValues sv,
any dt 
)
inline

Member Data Documentation

◆ fn_

template<typename R >
std::function<R (const SemanticValues& sv, any& dt)> peg::Action::TypeAdaptor_c< R >::fn_

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