__GNU_PARALLEL::ACCUMULATE_SELECTOR(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸ’– __gnu_parallel::accumulate_selector πŸ’–

okay bestie, welcome to the Library Functions Manual page for this absolute little icon β€” the header has it as __gnu_para...te_selector(3), and we are so ready.

✨ NAME ✨

__gnu_parallel::accumulate_selector β€” std::accumulate() selector.

πŸ¦‹ SYNOPSIS πŸ¦‹

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

this is the std::accumulate() selector, periodt. Definition at line 210 of file for_each_selectors.h.

πŸ”₯ Member Function Documentation πŸ”₯

the main character operator() is right here, and yes it's [inline]:

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.

  • o β€” Operator (unused).
  • i β€” Iterator referencing object.

Returns: The current value.

Definition at line 217 of file for_each_selectors.h.

⭐ Member Data Documentation ⭐

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.


that's the whole page, bestie. signing off with source/version libstdc++, date 21 Apr 2009, and footer title __gnu_para...te_selector(3) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from