STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
__gnu_parallel::__fill_selector< _It > Struct Template Reference

std::fill() selector. More...

#include <parallel/for_each_selectors.h>

Inheritance diagram for __gnu_parallel::__fill_selector< _It >:
__gnu_parallel::__generic_for_each_selector< _It >

Public Member Functions

template<typename _ValueType >
bool operator() (_ValueType &__v, _It __i)
 Functor execution. More...
 

Additional Inherited Members

- Public Attributes inherited from __gnu_parallel::__generic_for_each_selector< _It >
_It _M_finish_iterator
 _Iterator on last element processed; needed for some algorithms (e. g. std::transform()). More...
 

Detailed Description

template<typename _It>
struct __gnu_parallel::__fill_selector< _It >

std::fill() selector.

Member Function Documentation

template<typename _It >
template<typename _ValueType >
bool __gnu_parallel::__fill_selector< _It >::operator() ( _ValueType &  __v,
_It  __i 
)
inline

Functor execution.

Parameters
__vCurrent value.
__iiterator referencing object.
92  {
93  *__i = __v;
94  return true;
95  }

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