ReactOS 0.4.15-dev-7958-gcd0bb1a
_Constant_void_fun< _Result > Struct Template Reference

#include <_function.h>

Public Types

typedef _Result result_type
 

Public Member Functions

 _Constant_void_fun (const result_type &__v)
 
const result_typeoperator() () const
 

Public Attributes

result_type _M_val
 

Detailed Description

template<class _Result>
struct _Constant_void_fun< _Result >

Definition at line 341 of file _function.h.

Member Typedef Documentation

◆ result_type

template<class _Result >
typedef _Result _Constant_void_fun< _Result >::result_type

Definition at line 342 of file _function.h.

Constructor & Destructor Documentation

◆ _Constant_void_fun()

template<class _Result >
_Constant_void_fun< _Result >::_Constant_void_fun ( const result_type __v)
inline

Definition at line 345 of file _function.h.

345: _M_val(__v) {}
result_type _M_val
Definition: _function.h:343

Member Function Documentation

◆ operator()()

template<class _Result >
const result_type & _Constant_void_fun< _Result >::operator() ( ) const
inline

Definition at line 346 of file _function.h.

346{ return _M_val; }

Member Data Documentation

◆ _M_val

template<class _Result >
result_type _Constant_void_fun< _Result >::_M_val

Definition at line 343 of file _function.h.

Referenced by _Constant_void_fun< _Result >::operator()().


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