This template encapsulates an unary member function and a single object into a function expecting the parameter of the member function.
Don't use directly. Use the wrapMember function instead.
Definition at line 252 of file metaprogramming.h.
#include <mrpt/utils/metaprogramming.h>
Public Types | |
typedef U | argument_type |
typedef T | result_type |
Public Member Functions | |
UnaryMemberFunctionWrapper (V &o, MemberFunction f) | |
T | operator() (U p) |
Private Types | |
typedef T(V::* | MemberFunction) (U) |
Private Attributes | |
V & | obj |
MemberFunction | func |
typedef U mrpt::utils::metaprogramming::UnaryMemberFunctionWrapper< T, U, V >::argument_type |
Definition at line 258 of file metaprogramming.h.
|
private |
Definition at line 254 of file metaprogramming.h.
typedef T mrpt::utils::metaprogramming::UnaryMemberFunctionWrapper< T, U, V >::result_type |
Definition at line 259 of file metaprogramming.h.
|
inline |
Definition at line 260 of file metaprogramming.h.
|
inline |
Definition at line 261 of file metaprogramming.h.
References mrpt::utils::metaprogramming::UnaryMemberFunctionWrapper< T, U, V >::func.
|
private |
Definition at line 256 of file metaprogramming.h.
Referenced by mrpt::utils::metaprogramming::UnaryMemberFunctionWrapper< T, U, V >::operator()().
|
private |
Definition at line 255 of file metaprogramming.h.
Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |