LeechCraft  0.6.70-15082-g543737046d
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  LC::Util::Caster< To >
 
struct  LC::Util::Upcaster< To >
 
struct  LC::Util::Upcaster< To * >
 

Namespaces

 LC
 
 LC::Util
 

Functions

template<typename R , typename B , typename C , typename... Args>
auto LC::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 LC::Util::BindMemFn (R(B::*fn)(Args...) const, const C *c)
 

Variables

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