Main MRPT website > C++ reference
MRPT logo

mrpt::utils::metaprogramming::NonConstBind2nd< Op > Class Template Reference

Equivalent of std::bind2nd for functions with non-const arguments. More...

#include <mrpt/utils/metaprogramming.h>

List of all members.

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

Detailed Description

template<typename Op>
class mrpt::utils::metaprogramming::NonConstBind2nd< Op >

Equivalent of std::bind2nd for functions with non-const arguments.

Definition at line 353 of file metaprogramming.h.


Member Typedef Documentation

template<typename Op>
typedef Op::first_argument_type mrpt::utils::metaprogramming::NonConstBind2nd< Op >::argument_type

Definition at line 358 of file metaprogramming.h.

template<typename Op>
typedef Op::result_type mrpt::utils::metaprogramming::NonConstBind2nd< Op >::result_type

Definition at line 359 of file metaprogramming.h.


Constructor & Destructor Documentation

template<typename Op>
mrpt::utils::metaprogramming::NonConstBind2nd< Op >::NonConstBind2nd ( Op &  o,
typename Op::second_argument_type &  t 
) [inline]

Definition at line 360 of file metaprogramming.h.


Member Function Documentation

template<typename Op>
result_type mrpt::utils::metaprogramming::NonConstBind2nd< Op >::operator() ( argument_type f  )  [inline]

Member Data Documentation

template<typename Op>
Op& mrpt::utils::metaprogramming::NonConstBind2nd< Op >::op [private]
template<typename Op>
Op::second_argument_type& mrpt::utils::metaprogramming::NonConstBind2nd< Op >::val [private]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010