Provided by: libstdc++6-4.4-doc_4.4.7-8ubuntu1_all bug

NAME

       __gnu_parallel::replace_selector< It, T > -

SYNOPSIS

       Inherits __gnu_parallel::generic_for_each_selector< It >.

   Public Member Functions
       bool operator() (T &v, It i)
       replace_selector (const T &new_val)

   Public Attributes
       It finish_iterator
       const T & new_val

Detailed Description

   template<typename It, typename T>struct __gnu_parallel::replace_selector< It, T >
       std::replace() selector.

       Definition at line 134 of file for_each_selectors.h.

Constructor & Destructor Documentation

   template<typename It , typename T > __gnu_parallel::replace_selector< It, T
       >::replace_selector (const T &new_val) [inline],  [explicit]
       Constructor.

       Parameters:
           new_val Value to replace with.

       Definition at line 142 of file for_each_selectors.h.

Member Function Documentation

   template<typename It , typename T > bool __gnu_parallel::replace_selector< It, T >::operator()
       (T &v, Iti) [inline]
       Functor execution.

       Parameters:
           v Current value.
           i Iterator referencing object.

       Definition at line 148 of file for_each_selectors.h.

       References __gnu_parallel::replace_selector< It, T >::new_val.

Member Data Documentation

   template<typename It > It __gnu_parallel::generic_for_each_selector< It >::finish_iterator
       [inherited]
       Iterator on last element processed; needed for some algorithms (e. g. std::transform()).

       Definition at line 48 of file for_each_selectors.h.

   template<typename It , typename T > const T& __gnu_parallel::replace_selector< It, T
       >::new_val
       Value to replace with.

       Definition at line 137 of file for_each_selectors.h.

       Referenced by __gnu_parallel::replace_selector< It, T >::operator()().

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

libstdc++                                Thu Mar 20_gnu4parallel::replace_selector< It, T >(3cxx)