libstdc++
|
#include <for_each_selectors.h>
Public Member Functions | |
__replace_selector (const _Tp &__new_val) | |
bool | operator() (_Tp &__v, _It __i) |
Public Attributes | |
const _Tp & | __new_val |
_It | _M_finish_iterator |
std::replace() selector.
Definition at line 132 of file for_each_selectors.h.
|
inlineexplicit |
Constructor.
__new_val | Value to replace with. |
Definition at line 140 of file for_each_selectors.h.
|
inline |
Functor execution.
__v | Current value. |
__i | iterator referencing object. |
Definition at line 146 of file for_each_selectors.h.
References __gnu_parallel::__replace_selector< _It, _Tp >::__new_val.
const _Tp& __gnu_parallel::__replace_selector< _It, _Tp >::__new_val |
Value to replace with.
Definition at line 135 of file for_each_selectors.h.
Referenced by __gnu_parallel::__replace_selector< _It, _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.