boost::compute::make_discard_iterator
// In header: <boost/compute/iterator/discard_iterator.hpp> discard_iterator make_discard_iterator(size_t index = 0);
Returns a new discard_iterator with index.
discard_iterator
index
Parameters:
the index of the iterator
Returns:
a discard_iterator at index