STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
__gnu_parallel::__binder1st< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType > Class Template Reference

Similar to std::binder1st, but giving the argument types explicitly. More...

#include <parallel/base.h>

Inheritance diagram for __gnu_parallel::__binder1st< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >:

Public Member Functions

 __binder1st (const _Operation &__x, const _FirstArgumentType &__y)
 
_ResultType operator() (const _SecondArgumentType &__x)
 
_ResultType operator() (_SecondArgumentType &__x) const
 

Protected Attributes

_Operation _M_op
 
_FirstArgumentType _M_value
 

Detailed Description

template<typename _Operation, typename _FirstArgumentType, typename _SecondArgumentType, typename _ResultType>
class __gnu_parallel::__binder1st< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >

Similar to std::binder1st, but giving the argument types explicitly.

Constructor & Destructor Documentation

template<typename _Operation , typename _FirstArgumentType , typename _SecondArgumentType , typename _ResultType >
__gnu_parallel::__binder1st< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >::__binder1st ( const _Operation &  __x,
const _FirstArgumentType &  __y 
)
inline
201  : _M_op(__x), _M_value(__y) { }
_Operation _M_op
Definition: base.h:196
_FirstArgumentType _M_value
Definition: base.h:197

Member Function Documentation

template<typename _Operation , typename _FirstArgumentType , typename _SecondArgumentType , typename _ResultType >
_ResultType __gnu_parallel::__binder1st< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >::operator() ( const _SecondArgumentType &  __x)
inline
205  { return _M_op(_M_value, __x); }
_Operation _M_op
Definition: base.h:196
_FirstArgumentType _M_value
Definition: base.h:197
template<typename _Operation , typename _FirstArgumentType , typename _SecondArgumentType , typename _ResultType >
_ResultType __gnu_parallel::__binder1st< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >::operator() ( _SecondArgumentType &  __x) const
inline
211  { return _M_op(_M_value, __x); }
_Operation _M_op
Definition: base.h:196
_FirstArgumentType _M_value
Definition: base.h:197

Member Data Documentation

template<typename _Operation , typename _FirstArgumentType , typename _SecondArgumentType , typename _ResultType >
_Operation __gnu_parallel::__binder1st< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >::_M_op
protected
template<typename _Operation , typename _FirstArgumentType , typename _SecondArgumentType , typename _ResultType >
_FirstArgumentType __gnu_parallel::__binder1st< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >::_M_value
protected

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