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

Detailed Description

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

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

Definition at line 295 of file metaprogramming.h.

#include <mrpt/utils/metaprogramming.h>

Public Types

typedef Op::second_argument_type argument_type
 
typedef Op::result_type result_type
 

Public Member Functions

 NonConstBind1st (Op &o, typename Op::first_argument_type &t)
 
result_type operator() (argument_type &s)
 

Private Attributes

Op & op
 
Op::first_argument_type & val
 

Member Typedef Documentation

◆ argument_type

template<typename Op>
typedef Op::second_argument_type mrpt::utils::metaprogramming::NonConstBind1st< Op >::argument_type

Definition at line 300 of file metaprogramming.h.

◆ result_type

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

Definition at line 301 of file metaprogramming.h.

Constructor & Destructor Documentation

◆ NonConstBind1st()

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

Definition at line 302 of file metaprogramming.h.

Member Function Documentation

◆ operator()()

template<typename Op>
result_type mrpt::utils::metaprogramming::NonConstBind1st< Op >::operator() ( argument_type s)
inline

Member Data Documentation

◆ op

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

◆ val

template<typename Op>
Op::first_argument_type& mrpt::utils::metaprogramming::NonConstBind1st< Op >::val
private



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