Scroll to navigation

__gnu_parallel::accumulate_selector(3) Library Functions Manual __gnu_parallel::accumulate_selector(3)

NAME

__gnu_parallel::accumulate_selector -

std::accumulate() selector.

SYNOPSIS

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)

Public Attributes


It finish_iterator

Detailed Description

template<typename It> struct __gnu_parallel::accumulate_selector< It >

std::accumulate() selector.

Definition at line 210 of file for_each_selectors.h.

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.

Definition at line 217 of file for_each_selectors.h.

Member Data Documentation

template<typename It > It __gnu_parallel::generic_for_each_selector< It >::finish_iterator [inherited]

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

Definition at line 48 of file for_each_selectors.h.

Author

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

19 Jun 2018 libstdc++