The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Functions
functional.hpp File Reference
#include "global.hpp"
#include <functional>
#include <boost/bind.hpp>
Include dependency graph for functional.hpp:

Go to the source code of this file.

Classes

struct  std::is_placeholder< boost::arg< N > >
 
struct  detail::apply< Ret, T >
 
struct  detail::function_base< F >
 
struct  detail::function_base< Ret(P...)>
 
struct  detail::function_base< Ret(*)(P...)>
 
struct  detail::function_base< Ret(Class::*)(P...)>
 
struct  detail::function_base< Ret(Class::*)(P...) const >
 
struct  detail::function_base< Ret(Class::*)(P...) volatile >
 
struct  detail::function_base< Ret(Class::*)(P...) const volatile >
 
struct  detail::function_base< std::function< Ret(P...)> >
 

Namespaces

 detail
 

Functions

template<typename Ret , typename... T>
apply< Ret, T...> detail::make_apply (std::function< Ret(T...)> fcn)
 
template<typename F , typename... P>
auto bind_void (F fcn, P...bindings) -> decltype(boost::bind(detail::make_apply(std::function< typename detail::function_base< F >::type >(fcn)), bindings...))
 
template<typename F , typename... P>
auto bind_void_exact (F fcn, P...bindings) -> decltype(boost::bind(detail::make_apply(std::function< typename detail::function_base< F >::type >(fcn)), bindings...))
 

Function Documentation

template<typename F , typename... P>
auto bind_void ( fcn,
P...  bindings 
) -> decltype(boost::bind( detail::make_apply(std::function<typename detail::function_base<F>::type>(fcn)), bindings...) )
template<typename F , typename... P>
auto bind_void_exact ( fcn,
P...  bindings 
) -> decltype( boost::bind(detail::make_apply(std::function<typename detail::function_base<F>::type>(fcn)), bindings...) )

Definition at line 106 of file functional.hpp.

References detail::make_apply().