...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::iota
// In header: <boost/compute/algorithm/iota.hpp> template<typename BufferIterator, typename T> void iota(BufferIterator first, BufferIterator last, const T & value, command_queue & queue = system::default_queue());