23 #if !defined( BOLT_AMP_REPLACE_H )
24 #define BOLT_AMP_REPLACE_H
113 template<
typename InputIterator,
typename T>
114 void replace(InputIterator first,
119 template<
typename InputIterator,
typename T>
126 template<
typename InputIterator,
typename Predicate,
typename T>
127 void replace_if(control &ctl,
133 template<
typename InputIterator,
typename Predicate,
typename T>
134 void replace_if(InputIterator first,
139 template<
typename InputIterator1,
typename InputIterator2,
typename Predicate,
typename T>
140 void replace_if (InputIterator1 first, InputIterator1 last, InputIterator2 stencil, Predicate pred,
const T &new_value);
143 template<
typename InputIterator1,
typename InputIterator2,
typename Predicate,
typename T>
144 void replace_if (control &ctl, InputIterator1 first, InputIterator1 last, InputIterator2 stencil, Predicate pred,
const T &new_value);
203 template<
typename InputIterator,
typename OutputIterator,
typename Predicate,
typename T>
207 OutputIterator result,
211 template<
typename InputIterator,
typename OutputIterator,
typename Predicate,
typename T>
214 OutputIterator result,
218 template<
typename InputIterator1,
typename InputIterator2,
typename OutputIterator,
typename Predicate,
typename T>
220 InputIterator1 first,
222 InputIterator2 stencil,
223 OutputIterator result,
227 template<
typename InputIterator1,
typename InputIterator2,
typename OutputIterator,
typename Predicate,
typename T>
230 InputIterator2 stencil,
231 OutputIterator result,
235 template<
typename InputIterator,
typename OutputIterator,
typename T>
236 OutputIterator replace_copy(control &ctl,
239 OutputIterator result,
243 template<
typename InputIterator,
typename OutputIterator,
typename T>
244 OutputIterator replace_copy(InputIterator first,
246 OutputIterator result,
256 #include <bolt/amp/detail/replace.inl>
258 #endif // AMP_REPLACE_H