2
0
mirror of https://github.com/boostorg/compute.git synced 2026-01-27 06:42:19 +00:00
Files
compute/doc/reference/iterator/counting_iterator.xml
2013-03-02 15:14:17 -05:00

44 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<header name="boost/compute/iterator/counting_iterator.hpp">
<namespace name="boost">
<namespace name="compute">
<!-- boost::compute::counting_iterator<T> -->
<class name="counting_iterator">
<template>
<template-type-parameter name="T"/>
</template>
<purpose>A counting iterator</purpose>
<description>
<para>
The <code>counting_iterator</code> class provides a random-access
iterator that returns sequential values when dereferenced.
</para>
<para>
See also: <functionname>make_counting_iterator()</functionname>
</para>
</description>
</class>
<!-- boost::compute::make_counting_iterator(init) -->
<function name="make_counting_iterator">
<template>
<template-type-parameter name="T"/>
</template>
<type><classname>counting_iterator</classname>&lt;T&gt;</type>
<parameter name="init">
<paramtype>const T&amp;</paramtype>
</parameter>
<description>
<para>
Returns a new <classname>counting_iterator</classname> starting
at <code>init</code>.
</para>
</description>
</function>
</namespace>
</namespace>
</header>