__gnu_parallel::__accumulate_selector(3)

__gnu_parallel::__accumulate_selector3

Std::accumulate() selector.

Usage

#include <for_each_selectors.h>

Inherits __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.

Public Attributes

_It _M_finish_iterator
_Iterator on last element processed; needed for some algorithms (e. g. std::transform()).

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

__o Operator (unused).
__i iterator referencing object.

Returns

The current value.

Member Data Documentation

template<typename _It> _It __gnu_parallel::__generic_for_each_selector< _It >::_M_finish_iterator [inherited]

_Iterator on last element processed; needed for some algorithms (e. g. std::transform()).

Author

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

From gcc 16.2.1+r23+gd564253eb6c8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.