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

Public Member Functions

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

Public Attributes

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

Constructor & Destructor Documentation

◆ TypeAdaptor()

template<typename R >
peg::Action::TypeAdaptor< R >::TypeAdaptor ( std::function< R(const SemanticValues &sv)>  fn)
inline

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ fn_

template<typename R >
std::function<R (const SemanticValues& sv)> peg::Action::TypeAdaptor< R >::fn_

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