__gnu_parallel::__replace_if_selector Struct Reference
Inheritance diagram for __gnu_parallel::__replace_if_selector:

List of all members.

Public Member Functions

Public Attributes

Detailed Description

std::replace() selector.

Constructor & Destructor Documentation

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


__new_valValue to replace with.

Definition at line 164 of file for_each_selectors.h.

Member Function Documentation

bool __gnu_parallel::__replace_if_selector::operator() ( _Op &  __o,
_It  __i 
) [inline]

Functor execution.

__iiterator referencing object.

Definition at line 170 of file for_each_selectors.h.

References __new_val.

Member Data Documentation

Value to replace with.

Definition at line 159 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: