Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Function template fill_n

boost::compute::fill_n

Synopsis

// 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());

Description

Fills the range [first, first + count) with value.

Space complexity: (1)

See Also:

fill()


PrevUpHomeNext