__GNU_PARALLEL::__REPLACE_IF_SELECTOR(3cxx)
π NAME π
okay so this is the (3cxx) manual page for __gnu_parallel::__replace_if_selector< _It, _Op, _Tp >, bestie β itβs literally the std::replace() selector. Slay. β¨
β¨ SYNOPSIS β¨
#include <for_each_selectors.h>
It inherits __gnu_parallel::__generic_for_each_selector< _It > β family tree confirmed, no cap. π
π Public Member Functions π
__replace_if_selector (const _Tp &__new_val)β constructor. iconic behavior. πbool operator() (_Op &__o, _It __i)β functor execution. itβs giving βrun me.β π₯
π¦ Public Attributes π¦
const _Tp & __new_valβ value to replace with._It _M_finish_iteratorβ_Iterator on last element processed; needed for some algorithms (e. g. std::transform()).
πΈ Detailed Description πΈ
The template situation is:
template<typename _It, typename _Op, typename _Tp>
struct __gnu_parallel::__replace_if_selector< _It, _Op, _Tp
>"std::replace() selector.
(Yes, that little " is sitting in the source text like a gremlin π. The important part: itβs the std::replace() selector struct. We keep the exact code, bestie. π
)
π οΈ Constructor & Destructor Documentation π οΈ
template<typename _It , typename _Op , typename _Tp >
__gnu_parallel::__replace_if_selector< _It, _Op, _Tp
>::__replace_if_selector (const _Tp & __new_val) [inline], [explicit]
__replace_if_selectorβ constructor, obviously. main character energy. β¨- Parameters:
__new_valβ value to replace with. π
π₯ Member Function Documentation π₯
template<typename _It , typename _Op , typename _Tp > bool
__gnu_parallel::__replace_if_selector< _It, _Op, _Tp >::operator() (_Op
& __o, _It __i) [inline]
operator()β functor execution. It does the functor thing, periodt.- Parameters:
__oβ operator.__iβ iterator referencing object.
- References:
__gnu_parallel::__replace_if_selector< _It, _Op, _Tp >::__new_val.
π Member Data Documentation π
template<typename _It , typename _Op , typename _Tp > const _Tp&
__gnu_parallel::__replace_if_selector< _It, _Op, _Tp >::__new_val
__new_valβ value to replace with.- Referenced by:
__gnu_parallel::__replace_if_selector< _It, _Op, _Tp >::operator()().
template<typename _It > _It __gnu_parallel::__generic_for_each_selector< _It
>::_M_finish_iterator [inherited]
_M_finish_iteratorβ_Iterator on last element processed; needed for some algorithms (e. g. std::transform()).- Inherited β from
__gnu_parallel::__generic_for_each_selector< _It >, as the synopsis said. π«Ά
π¦ Author π¦
Generated automatically by Doxygen for libstdc++ from the source code. Doxygen really said βI made thisβ and we respect it. π
π«Ά cute little sign-off: source/version energy is libstdc++ with manual section (3cxx); the footer didnβt show a separate date for me to spill, so Iβm not inventing one. Bye bestie, go replace responsibly. π
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms