template<typename T, typename R, typename Fn>
RawMemberFunction class
| Template parameters | |
|---|---|
| T | the type of this pointer |
| R | the member function return type |
| Fn | the member function type |
Contents
Helper class for implementing operator->* on smart pointer classes
Constructors, destructors, conversion operators
- RawMemberFunction(T* raw, Fn funcptr)
Public functions
-
template<typename ... Args>auto operator()(Args && ... args) -> R
Function documentation
template<typename T, typename R, typename Fn>
bpf:: memory:: RawMemberFunction<T, R, Fn>:: RawMemberFunction(T* raw,
Fn funcptr)
| Parameters | |
|---|---|
| raw | the raw this pointer |
| funcptr | the raw member function pointer |
Constructs a RawMemberFunction
template<typename T, typename R, typename Fn>
template<typename ... Args>
R bpf:: memory:: RawMemberFunction<T, R, Fn>:: operator()(Args && ... args)
| Template parameters | |
|---|---|
| Args | the type of arguments |
| Parameters | |
| args | the arguments to forward |
| Returns | the return value of the function |
Calls this member function