__gnu_parallel::__replace_selector Struct Reference
Inheritance diagram for __gnu_parallel::__replace_selector:

List of all members.

Public Member Functions

Public Attributes

Detailed Description

std::replace() selector.

Constructor & Destructor Documentation

__gnu_parallel::__replace_selector::__replace_selector ( const _Tp &  __new_val) [inline, explicit]


__new_valValue to replace with.

Definition at line 140 of file for_each_selectors.h.

Member Function Documentation

bool __gnu_parallel::__replace_selector::operator() ( _Tp &  __v,
_It  __i 
) [inline]

Functor execution.

__vCurrent value.
__iiterator referencing object.

Definition at line 146 of file for_each_selectors.h.

References __new_val.

Member Data Documentation

Value to replace with.

Definition at line 135 of file for_each_selectors.h.

Referenced by operator()().

_Iterator on last element processed; needed for some algorithms (e. g. std::transform()).

Definition at line 47 of file for_each_selectors.h.

The documentation for this struct was generated from the following file: