|
APM:Libraries
|
#include <functor.h>
Public Member Functions | |
| constexpr | Functor (void *obj, RetType(*method)(void *obj, Args...)) |
| constexpr | Functor (decltype(nullptr)) |
| constexpr | Functor () |
| RetType | operator() (Args... args) const |
| bool | operator== (const Functor< RetType, Args... > &rhs) |
| operator bool () const | |
Static Public Member Functions | |
| template<class T , RetType(T::*)(Args...) method> | |
| static constexpr Functor | bind (T *obj) |
Static Private Member Functions | |
| template<class T , RetType(T::*)(Args...) method> | |
| static RetType | method_wrapper (void *obj, Args... args) |
Private Attributes | |
| void * | _obj |
| RetType(* | _method )(void *obj, Args...) |
|
inlinestaticprivate |
|
inlineexplicit |
|
inline |
|
private |
Definition at line 78 of file functor.h.
Referenced by Functor< RetType, Args >::operator bool(), Functor< RetType, Args >::operator()(), and Functor< RetType, Args >::operator==().
|
private |
Definition at line 77 of file functor.h.
Referenced by Functor< RetType, Args >::operator()(), and Functor< RetType, Args >::operator==().
1.8.13