LeechCraft  0.6.70-10870-g558588d6ec
Modular cross-platform feature rich live environment.
functional.h File Reference
#include <type_traits>
+ Include dependency graph for functional.h:

Go to the source code of this file.

Classes

struct  LeechCraft::Util::Caster< To >
 
struct  LeechCraft::Util::Upcaster< To >
 
struct  LeechCraft::Util::Upcaster< To * >
 

Namespaces

 LeechCraft
 
 LeechCraft::Util
 

Functions

template<typename R , typename B , typename C , typename... Args>
auto LeechCraft::Util::BindMemFn (R(B::*fn)(Args...), C *c)
 Binds an instance of an object to its member function. More...
 
template<typename R , typename B , typename C , typename... Args>
auto LeechCraft::Util::BindMemFn (R(B::*fn)(Args...) const, const C *c)
 

Variables

template<typename To >
constexpr auto LeechCraft::Util::Upcast = Upcaster<To> {}