ReactOS 0.4.16-dev-197-g92996da
_Constant_binary_fun< _Result, _Arg1, _Arg2 > Struct Template Reference

#include <_function_base.h>

Public Types

typedef _Arg1 first_argument_type
 
typedef _Arg2 second_argument_type
 
typedef _Result result_type
 

Public Member Functions

 _Constant_binary_fun (const _Result &__v)
 
const result_typeoperator() (const _Arg1 &, const _Arg2 &) const
 

Public Attributes

_Result _M_val
 

Detailed Description

template<class _Result, class _Arg1, class _Arg2>
struct _Constant_binary_fun< _Result, _Arg1, _Arg2 >

Definition at line 193 of file _function_base.h.

Member Typedef Documentation

◆ first_argument_type

template<class _Result , class _Arg1 , class _Arg2 >
typedef _Arg1 _Constant_binary_fun< _Result, _Arg1, _Arg2 >::first_argument_type

Definition at line 194 of file _function_base.h.

◆ result_type

template<class _Result , class _Arg1 , class _Arg2 >
typedef _Result _Constant_binary_fun< _Result, _Arg1, _Arg2 >::result_type

Definition at line 196 of file _function_base.h.

◆ second_argument_type

template<class _Result , class _Arg1 , class _Arg2 >
typedef _Arg2 _Constant_binary_fun< _Result, _Arg1, _Arg2 >::second_argument_type

Definition at line 195 of file _function_base.h.

Constructor & Destructor Documentation

◆ _Constant_binary_fun()

template<class _Result , class _Arg1 , class _Arg2 >
_Constant_binary_fun< _Result, _Arg1, _Arg2 >::_Constant_binary_fun ( const _Result &  __v)
inline

Definition at line 199 of file _function_base.h.

199: _M_val(__v) {}

Member Function Documentation

◆ operator()()

template<class _Result , class _Arg1 , class _Arg2 >
const result_type & _Constant_binary_fun< _Result, _Arg1, _Arg2 >::operator() ( const _Arg1 &  ,
const _Arg2 &   
) const
inline

Definition at line 200 of file _function_base.h.

200 {
201 return _M_val;
202 }

Member Data Documentation

◆ _M_val

template<class _Result , class _Arg1 , class _Arg2 >
_Result _Constant_binary_fun< _Result, _Arg1, _Arg2 >::_M_val

The documentation for this struct was generated from the following file: