...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::make_constant_iterator
// In header: <boost/compute/iterator/constant_iterator.hpp> template<typename T> constant_iterator< T > make_constant_iterator(const T & value, size_t index = 0);
Returns a new constant_iterator
with value
at index
.
Parameters: |
|
||||
Returns: |
a |