GNU g++  v5.2.1
GNU Standard C++
__gnu_parallel::__accumulate_binop_reduct< _BinOp > Struct Template Reference

General reduction, using a binary operator. More...

#include <for_each_selectors.h>

Collaboration diagram for __gnu_parallel::__accumulate_binop_reduct< _BinOp >:

Public Member Functions

 __accumulate_binop_reduct (_BinOp &__b)
 
template<typename _Result , typename _Addend >
_Result operator() (const _Result &__x, const _Addend &__y)
 

Public Attributes

_BinOp & __binop
 

Detailed Description

template<typename _BinOp>
struct __gnu_parallel::__accumulate_binop_reduct< _BinOp >

General reduction, using a binary operator.

Constructor & Destructor Documentation

template<typename _BinOp >
__gnu_parallel::__accumulate_binop_reduct< _BinOp >::__accumulate_binop_reduct ( _BinOp &  __b)
inlineexplicit

Member Function Documentation

template<typename _BinOp >
template<typename _Result , typename _Addend >
_Result __gnu_parallel::__accumulate_binop_reduct< _BinOp >::operator() ( const _Result &  __x,
const _Addend &  __y 
)
inline

Member Data Documentation

template<typename _BinOp >
_BinOp& __gnu_parallel::__accumulate_binop_reduct< _BinOp >::__binop

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