Scroll to navigation

__gnu_parallel::__binder2nd< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >(3cxx) __gnu_parallel::__binder2nd< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >(3cxx)

NAME

__gnu_parallel::__binder2nd< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType > - Similar to std::binder2nd, but giving the argument types explicitly.

SYNOPSIS

#include <base.h>

Inherits std::unary_function< _FirstArgumentType, _ResultType >.

Public Types


typedef _FirstArgumentType argument_type
argument_type is the type of the argument typedef _ResultType result_type
result_type is the return type

Public Member Functions


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

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.

Definition at line 220 of file base.h.

Member Typedef Documentation

typedef _FirstArgumentType std::unary_function< _FirstArgumentType , _ResultType >::argument_type [inherited]

argument_type is the type of the argument

Definition at line 120 of file stl_function.h.

typedef _ResultType std::unary_function< _FirstArgumentType , _ResultType >::result_type [inherited]

result_type is the return type

Definition at line 123 of file stl_function.h.

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]

Definition at line 228 of file base.h.

Member Function Documentation

template<typename _Operation , typename _FirstArgumentType , typename _SecondArgumentType , typename _ResultType > _ResultType __gnu_parallel::__binder2nd< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >::operator() (_FirstArgumentType & __x) [inline]

Definition at line 238 of file base.h.

template<typename _Operation , typename _FirstArgumentType , typename _SecondArgumentType , typename _ResultType > _ResultType __gnu_parallel::__binder2nd< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType >::operator() (const _FirstArgumentType & __x) const [inline]

Definition at line 232 of file base.h.

Member Data Documentation

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

Definition at line 224 of file base.h.

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

Definition at line 225 of file base.h.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Sun Jan 8 2023 libstdc++