This template encapsulates a binary member function and a single object into a function expecting the two parameters of the member function.
Don't use directly. Use the wrapMember function instead to avoid explicit template instantiation.
Definition at line 234 of file metaprogramming.h.
#include <mrpt/utils/metaprogramming.h>
Public Types | |
typedef U1 | first_argument_type |
typedef U2 | second_argument_type |
typedef T | result_type |
Public Member Functions | |
BinaryMemberFunctionWrapper (V &o, MemberFunction f) | |
T | operator() (U1 p1, U2 p2) |
Private Types | |
typedef T(V::* | MemberFunction) (U1, U2) |
Private Attributes | |
V & | obj |
MemberFunction | func |
typedef U1 mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::first_argument_type |
Definition at line 240 of file metaprogramming.h.
|
private |
Definition at line 236 of file metaprogramming.h.
typedef T mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::result_type |
Definition at line 242 of file metaprogramming.h.
typedef U2 mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::second_argument_type |
Definition at line 241 of file metaprogramming.h.
|
inline |
Definition at line 243 of file metaprogramming.h.
|
inline |
Definition at line 244 of file metaprogramming.h.
References mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::func.
|
private |
Definition at line 238 of file metaprogramming.h.
Referenced by mrpt::utils::metaprogramming::BinaryMemberFunctionWrapper< T, U1, U2, V >::operator()().
|
private |
Definition at line 237 of file metaprogramming.h.
Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |