std::replace() selector. More...
#include <for_each_selectors.h>
Public Member Functions | |
__replace_selector (const _Tp &__new_val) | |
Constructor. More... | |
bool | operator() (_Tp &__v, _It __i) |
Functor execution. More... | |
Public Attributes | |
const _Tp & | __new_val |
Value to replace with. More... | |
_It | _M_finish_iterator |
_Iterator on last element processed; needed for some algorithms (e. More... | |
std::replace() selector.
|
inlineexplicit |
Constructor.
__new_val | Value to replace with. |
|
inline |
Functor execution.
__v | Current value. |
__i | iterator referencing object. |
References __gnu_parallel::__replace_selector< _It, _Tp >::__new_val.
const _Tp& __gnu_parallel::__replace_selector< _It, _Tp >::__new_val |
Value to replace with.
Referenced by __gnu_parallel::__replace_selector< _It, _Tp >::operator()().
|
inherited |
_Iterator on last element processed; needed for some algorithms (e.
g. std::transform()).
Referenced by _GLIBCXX_VISIBILITY().