STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
__gnu_parallel::__accumulate_selector< _It > Struct Template Reference

std::accumulate() selector. More...

#include <parallel/for_each_selectors.h>

Inheritance diagram for __gnu_parallel::__accumulate_selector< _It >:
__gnu_parallel::__generic_for_each_selector< _It >

Public Member Functions

template<typename _Op >
std::iterator_traits< _It >
::value_type 
operator() (_Op __o, _It __i)
 Functor execution. More...
 

Additional Inherited Members

- Public Attributes inherited from __gnu_parallel::__generic_for_each_selector< _It >
_It _M_finish_iterator
 _Iterator on last element processed; needed for some algorithms (e. g. std::transform()). More...
 

Detailed Description

template<typename _It>
struct __gnu_parallel::__accumulate_selector< _It >

std::accumulate() selector.

Member Function Documentation

template<typename _It>
template<typename _Op >
std::iterator_traits<_It>::value_type __gnu_parallel::__accumulate_selector< _It >::operator() ( _Op  __o,
_It  __i 
)
inline

Functor execution.

Parameters
__oOperator (unused).
__iiterator referencing object.
Returns
The current value.
217  { return *__i; }

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