LeechCraft 0.6.70-17335-ge406ffdcaf
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
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 * >
 

Namespaces

namespace  LC
 
namespace  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.
 
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> {}