Main MRPT website > C++ reference for MRPT 1.5.6
List of all members | Public Types | Public Member Functions | Private Attributes
mrpt::utils::metaprogramming::NonConstBind2nd< Op > Class Template Reference

Detailed Description

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

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

Definition at line 314 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
 

Member Typedef Documentation

◆ argument_type

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

Definition at line 319 of file metaprogramming.h.

◆ result_type

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

Definition at line 320 of file metaprogramming.h.

Constructor & Destructor Documentation

◆ NonConstBind2nd()

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

Definition at line 321 of file metaprogramming.h.

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ op

template<typename Op>
Op& mrpt::utils::metaprogramming::NonConstBind2nd< Op >::op
private

◆ val

template<typename Op>
Op::second_argument_type& mrpt::utils::metaprogramming::NonConstBind2nd< Op >::val
private



Page generated by Doxygen 1.8.14 for MRPT 1.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019