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::__binder2nd< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType > Class Template Reference

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

#include <parallel/base.h>

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

Public Member Functions

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

Protected Attributes

_Operation _M_op
 
_SecondArgumentType _M_value
 

Detailed Description

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

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

Constructor & Destructor Documentation

template<typename _Operation, typename _FirstArgumentType, typename _SecondArgumentType, typename _ResultType>
__gnu_parallel::__binder2nd< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >::__binder2nd ( const _Operation &  __x,
const _SecondArgumentType &  __y 
)
inline
229  : _M_op(__x), _M_value(__y) { }
_Operation _M_op
Definition: base.h:224
_SecondArgumentType _M_value
Definition: base.h:225

Member Function Documentation

template<typename _Operation, typename _FirstArgumentType, typename _SecondArgumentType, typename _ResultType>
_ResultType __gnu_parallel::__binder2nd< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >::operator() ( const _FirstArgumentType &  __x) const
inline
233  { return _M_op(__x, _M_value); }
_Operation _M_op
Definition: base.h:224
_SecondArgumentType _M_value
Definition: base.h:225
template<typename _Operation, typename _FirstArgumentType, typename _SecondArgumentType, typename _ResultType>
_ResultType __gnu_parallel::__binder2nd< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >::operator() ( _FirstArgumentType &  __x)
inline
239  { return _M_op(__x, _M_value); }
_Operation _M_op
Definition: base.h:224
_SecondArgumentType _M_value
Definition: base.h:225

Member Data Documentation

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

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