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 a snapshot of the master branch, built from commit 7789ef3d8d.
PrevUpHomeNext

Function template make_buffer_iterator

boost::compute::make_buffer_iterator

Synopsis

// In header: <boost/compute/iterator/buffer_iterator.hpp>


template<typename T> 
  buffer_iterator< T > 
  make_buffer_iterator(const buffer & buffer, size_t index = 0);

Description

Creates a new buffer_iterator for buffer at index.

Parameters:

buffer

the buffer object

index

the index in the buffer

Returns:

a buffer_iterator for buffer at index


PrevUpHomeNext