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