36 template<
class R,
class T,
class... Args>
37 std::function<R(Args...)>
bind_member(T* instance, R(T::*method)(Args...)) {
return [=](Args && ... args) -> R {
return (instance->*method)(std::forward<Args>(args)...); }; }
std::function< R(Args...)> bind_member(T *instance, R(T::*method)(Args...))
Definition: bind_member.h:37
Definition: Application/application.h:35