__GNU_PARALLEL::__ACCUMULATE_SELECTOR(3cxx)

πŸ’– __gnu_parallel::__accumulate_selector< _It > πŸ’–

okay bestie, this is the (3cxx) manual page for __gnu_parallel::__accumulate_selector< _It >, aka the std::accumulate() selector. lowkey iconic, highkey useful, no cap. πŸ’…

✨ NAME ✨

__gnu_parallel::__accumulate_selector< _It > β€” std::accumulate() selector. periodt.

🌈 SYNOPSIS 🌈

#include <for_each_selectors.h>

Inherits __gnu_parallel::__generic_for_each_selector< _It >. family tree is giving legacy. πŸ¦‹

πŸ’… Public Member Functions πŸ’…

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

Functor execution. literally the whole function vibe.

πŸ“ Public Attributes πŸ“

_It _M_finish_iterator

_Iterator on last element processed; needed for some algorithms (e. g. std::transform()). iykyk. obsessed with inherited data.

πŸ¦‹ Detailed Description πŸ¦‹

template<typename _It> struct __gnu_parallel::__accumulate_selector< _It >"std::accumulate() selector.

yes, the original has that little " before std::accumulate(), and we keep every detail around here, bestie. Vibe check: it's the std::accumulate() selector struct, fr fr.

🌸 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. inline and iconic.

Parameters

  • __o β€” Operator (unused). not me being unused but still showing up.
  • __i β€” iterator referencing object.

Returns

The current value. main character return value energy. πŸ‘‘

πŸŽ€ 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()). inherited but still ate. πŸ’€

⭐ Author ⭐

Generated automatically by Doxygen for libstdc++ from the source code. auto-generated royalty. πŸ‘‘βœ¨


signed, sealed, auto-generated: source/version libstdc++, footer page stamp libst__gnu_parallel:...selector< _It >(3cxx), and the date slot from the original footer β€” not invented, just folded into this cute sign-off, bestie. πŸ«ΆπŸŽ€