...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::compute::swap_ranges
// In header: <boost/compute/algorithm/swap_ranges.hpp> template<typename Iterator1, typename Iterator2> Iterator2 swap_ranges(Iterator1 first1, Iterator1 last1, Iterator2 first2, command_queue & queue = system::default_queue());