ReactOS  0.4.15-dev-5640-g0dde428
_Constant_unary_fun< _Result, _Argument > Struct Template Reference

#include <_function_base.h>

Public Types

typedef _Argument argument_type
typedef _Result result_type

Public Member Functions

 _Constant_unary_fun (const result_type &__v)
const result_typeoperator() (const _Argument &) const

Public Attributes

result_type _M_val

Detailed Description

template<class _Result, class _Argument>
struct _Constant_unary_fun< _Result, _Argument >

Definition at line 183 of file _function_base.h.

Member Typedef Documentation

◆ argument_type

template<class _Result , class _Argument >
typedef _Argument _Constant_unary_fun< _Result, _Argument >::argument_type

Definition at line 184 of file _function_base.h.

◆ result_type

template<class _Result , class _Argument >
typedef _Result _Constant_unary_fun< _Result, _Argument >::result_type

Definition at line 185 of file _function_base.h.

Constructor & Destructor Documentation

◆ _Constant_unary_fun()

template<class _Result , class _Argument >
_Constant_unary_fun< _Result, _Argument >::_Constant_unary_fun ( const result_type __v)

Definition at line 188 of file _function_base.h.

188 : _M_val(__v) {}

Member Function Documentation

◆ operator()()

template<class _Result , class _Argument >
const result_type& _Constant_unary_fun< _Result, _Argument >::operator() ( const _Argument &  ) const

Definition at line 189 of file _function_base.h.

189 { return _M_val; }

Member Data Documentation

◆ _M_val

template<class _Result , class _Argument >
result_type _Constant_unary_fun< _Result, _Argument >::_M_val

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