The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Private Attributes | List of all members
detail::apply< Ret, T > Struct Template Reference

#include <functional.hpp>

Public Types

using result_type = void
 

Public Member Functions

 apply (std::function< Ret(T...)> fcn)
 
void operator() (T...params)
 

Private Attributes

std::function< Ret(T...)> fcn
 

Detailed Description

template<typename Ret, typename... T>
struct detail::apply< Ret, T >

Definition at line 37 of file functional.hpp.

Member Typedef Documentation

template<typename Ret , typename... T>
using detail::apply< Ret, T >::result_type = void

Definition at line 38 of file functional.hpp.

Constructor & Destructor Documentation

template<typename Ret , typename... T>
detail::apply< Ret, T >::apply ( std::function< Ret(T...)>  fcn)
inline

Definition at line 39 of file functional.hpp.

Member Function Documentation

template<typename Ret , typename... T>
void detail::apply< Ret, T >::operator() ( T...  params)
inline

Definition at line 40 of file functional.hpp.

References detail::apply< Ret, T >::fcn.

Member Data Documentation

template<typename Ret , typename... T>
std::function<Ret(T...)> detail::apply< Ret, T >::fcn
private

Definition at line 44 of file functional.hpp.

Referenced by detail::apply< Ret, T >::operator()().


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