Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Function template reverse_copy

boost::compute::reverse_copy

Synopsis

// In header: <boost/compute/algorithm/reverse_copy.hpp>


template<typename InputIterator, typename OutputIterator> 
  OutputIterator 
  reverse_copy(InputIterator first, InputIterator last, OutputIterator result, 
               command_queue & queue = system::default_queue());

Description

Copies the elements in the range [first, last) in reversed order to the range beginning at result.

Space complexity: \Omega(1)

See Also:

reverse()


PrevUpHomeNext