Equivalent of std::bind2nd for functions with non-const arguments.
Definition at line 357 of file metaprogramming.h.
#include <mrpt/utils/metaprogramming.h>
Public Types | |
typedef Op::first_argument_type | argument_type |
typedef Op::result_type | result_type |
Public Member Functions | |
NonConstBind2nd (Op &o, typename Op::second_argument_type &t) | |
result_type | operator() (argument_type &f) |
Private Attributes | |
Op & | op |
Op::second_argument_type & | val |
typedef Op::first_argument_type mrpt::utils::metaprogramming::NonConstBind2nd< Op >::argument_type |
Definition at line 362 of file metaprogramming.h.
typedef Op::result_type mrpt::utils::metaprogramming::NonConstBind2nd< Op >::result_type |
Definition at line 363 of file metaprogramming.h.
mrpt::utils::metaprogramming::NonConstBind2nd< Op >::NonConstBind2nd | ( | Op & | o, |
typename Op::second_argument_type & | t | ||
) | [inline] |
Definition at line 364 of file metaprogramming.h.
result_type mrpt::utils::metaprogramming::NonConstBind2nd< Op >::operator() | ( | argument_type & | f | ) | [inline] |
Definition at line 365 of file metaprogramming.h.
References mrpt::utils::metaprogramming::NonConstBind2nd< Op >::op, and mrpt::utils::metaprogramming::NonConstBind2nd< Op >::val.
Op& mrpt::utils::metaprogramming::NonConstBind2nd< Op >::op [private] |
Definition at line 359 of file metaprogramming.h.
Referenced by mrpt::utils::metaprogramming::NonConstBind2nd< Op >::operator()().
Op::second_argument_type& mrpt::utils::metaprogramming::NonConstBind2nd< Op >::val [private] |
Definition at line 360 of file metaprogramming.h.
Referenced by mrpt::utils::metaprogramming::NonConstBind2nd< Op >::operator()().
Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN:exported at Tue Jan 25 21:56:31 UTC 2011 |