__gnu_para...e_selector(3)
π NAME π
okay so this is the Library Functions Manual page for __gnu_para...e_selector(3), bestie β¨ β and it's literally the selector for std::replace(). That's the whole vibe. π
β¨ SYNOPSIS β¨
Inherits generic_for_each_selector< It >.
Public Member Functions
bool operator() (T &v, It i)replace_selector (const T &new_val)
Public Attributes
It finish_iteratorconst T & new_val
π¦ Detailed Description π¦
okay so picture this:
template<typename It, typename T> struct __gnu_parallel::replace_selector<
It, T >
std::replace() selector.
It's giving std::replace() selector energy, no cap. π«Ά
Definition at line 134 of file for_each_selectors.h.
π Constructor & Destructor Documentation π
πΈ replace_selector β constructor
template<typename It , typename T > __gnu_parallel::replace_selector< It, T
>::replace_selector (const T & new_val) [inline, explicit]
Constructor. π
Parameters:
new_valβ Value to replace with.
Definition at line 142 of file for_each_selectors.h.
π§ Member Function Documentation π§
π₯ operator() β functor execution
template<typename It , typename T > bool __gnu_parallel::replace_selector<
It, T >::operator() (T & v, It i) [inline]
Functor execution. β¨
Parameters:
vβ Current value.iβ Iterator referencing object.
Definition at line 148 of file for_each_selectors.h.
References __gnu_parallel::replace_selector< It, T >::new_val. π
π Member Data Documentation π
π«Ά finish_iterator β inherited
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.
π new_val
template<typename It , typename T > const T&
__gnu_parallel::replace_selector< It, T >::new_val
Value to replace with. π
Definition at line 137 of file for_each_selectors.h.
Referenced by __gnu_parallel::replace_selector< It, T >::operator()(). β
π AUTHOR π
Generated automatically by Doxygen for libstdc++ from the source code. π¦
xoxo bestie, this page is fromlibstdc++, dated21 Apr 2009, and its page tag is__gnu_para...e_selector(3). π β¨
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms