libstdc++
|
#include <for_each_selectors.h>
Public Member Functions | |
__replace_if_selector (const _Tp &__new_val) | |
bool | operator() (_Op &__o, _It __i) |
Public Attributes | |
const _Tp & | __new_val |
_It | _M_finish_iterator |
std::replace() selector.
Definition at line 156 of file for_each_selectors.h.
|
inlineexplicit |
Constructor.
__new_val | Value to replace with. |
Definition at line 164 of file for_each_selectors.h.
|
inline |
Functor execution.
__o | Operator. |
__i | iterator referencing object. |
Definition at line 170 of file for_each_selectors.h.
References __gnu_parallel::__replace_if_selector< _It, _Op, _Tp >::__new_val.
const _Tp& __gnu_parallel::__replace_if_selector< _It, _Op, _Tp >::__new_val |
Value to replace with.
Definition at line 159 of file for_each_selectors.h.
Referenced by __gnu_parallel::__replace_if_selector< _It, _Op, _Tp >::operator()().
|
inherited |
_Iterator on last element processed; needed for some algorithms (e. g. std::transform()).
Definition at line 47 of file for_each_selectors.h.