mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-09 23:23:54 +00:00
Added references to generator_iterator docs to rst and qbk docs.
This commit is contained in:
parent
eb90ad7a99
commit
79277b78d2
@ -131,6 +131,9 @@ is called to get the value to return.</li>
|
|||||||
<li><a class="reference external" href="function_output_iterator.html"><tt class="docutils literal"><span class="pre">function_output_iterator</span></tt></a> (<a class="reference external" href="function_output_iterator.pdf">PDF</a>): an output iterator wrapping a unary function
|
<li><a class="reference external" href="function_output_iterator.html"><tt class="docutils literal"><span class="pre">function_output_iterator</span></tt></a> (<a class="reference external" href="function_output_iterator.pdf">PDF</a>): an output iterator wrapping a unary function
|
||||||
object; each time an element is written into the dereferenced
|
object; each time an element is written into the dereferenced
|
||||||
iterator, it is passed as a parameter to the function object.</li>
|
iterator, it is passed as a parameter to the function object.</li>
|
||||||
|
<li><a class="reference external" href="generator_iterator.htm"><tt class="docutils literal"><span class="pre">generator_iterator</span></tt></a>: an input iterator wrapping a reference to a generator (nullary function object);
|
||||||
|
each time the iterator is dereferenced, the function object
|
||||||
|
is called to get the value to return. This is a more outdated analogue of <tt class="docutils literal"><span class="pre">function_input_iterator</span></tt>.</li>
|
||||||
<li><a class="reference external" href="indirect_iterator.html"><tt class="docutils literal"><span class="pre">indirect_iterator</span></tt></a> (<a class="reference external" href="indirect_iterator.pdf">PDF</a>): an iterator over the objects <em>pointed-to</em> by the
|
<li><a class="reference external" href="indirect_iterator.html"><tt class="docutils literal"><span class="pre">indirect_iterator</span></tt></a> (<a class="reference external" href="indirect_iterator.pdf">PDF</a>): an iterator over the objects <em>pointed-to</em> by the
|
||||||
elements of some sequence.</li>
|
elements of some sequence.</li>
|
||||||
<li><a class="reference external" href="permutation_iterator.html"><tt class="docutils literal"><span class="pre">permutation_iterator</span></tt></a> (<a class="reference external" href="permutation_iterator.pdf">PDF</a>): an iterator over the elements of some random-access
|
<li><a class="reference external" href="permutation_iterator.html"><tt class="docutils literal"><span class="pre">permutation_iterator</span></tt></a> (<a class="reference external" href="permutation_iterator.pdf">PDF</a>): an iterator over the elements of some random-access
|
||||||
|
@ -146,6 +146,10 @@ iterator templates based on the Boost `iterator facade and adaptor`_.
|
|||||||
object; each time an element is written into the dereferenced
|
object; each time an element is written into the dereferenced
|
||||||
iterator, it is passed as a parameter to the function object.
|
iterator, it is passed as a parameter to the function object.
|
||||||
|
|
||||||
|
* |generator|_: an input iterator wrapping a generator (nullary
|
||||||
|
function object); each time the iterator is dereferenced, the function object
|
||||||
|
is called to get the value to return. This is an outdated analogue of |function_input|_.
|
||||||
|
|
||||||
* |indirect|_ (PDF__): an iterator over the objects *pointed-to* by the
|
* |indirect|_ (PDF__): an iterator over the objects *pointed-to* by the
|
||||||
elements of some sequence.
|
elements of some sequence.
|
||||||
|
|
||||||
@ -183,6 +187,9 @@ __ function_input_iterator.pdf
|
|||||||
.. _function_output: function_output_iterator.html
|
.. _function_output: function_output_iterator.html
|
||||||
__ function_output_iterator.pdf
|
__ function_output_iterator.pdf
|
||||||
|
|
||||||
|
.. |generator| replace:: ``generator_iterator``
|
||||||
|
.. _generator: generator_iterator.htm
|
||||||
|
|
||||||
.. |indirect| replace:: ``indirect_iterator``
|
.. |indirect| replace:: ``indirect_iterator``
|
||||||
.. _indirect: indirect_iterator.html
|
.. _indirect: indirect_iterator.html
|
||||||
__ indirect_iterator.pdf
|
__ indirect_iterator.pdf
|
||||||
|
@ -35,7 +35,7 @@ proxy object.
|
|||||||
|
|
||||||
std::string s = "";
|
std::string s = "";
|
||||||
std::copy(x.begin(), x.end(),
|
std::copy(x.begin(), x.end(),
|
||||||
boost::make_function_output_iterator(string_appender(s)));
|
boost::make_function_output_iterator(string_appender(s)));
|
||||||
|
|
||||||
std::cout << s << std::endl;
|
std::cout << s << std::endl;
|
||||||
|
|
||||||
@ -97,4 +97,4 @@ Incrementable Iterator concepts.
|
|||||||
|
|
||||||
[*Returns: ] `*this`.
|
[*Returns: ] `*this`.
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
@ -112,7 +112,9 @@ templates.
|
|||||||
|
|
||||||
[def _counting_ [link iterator.specialized.counting `counting_iterator`]]
|
[def _counting_ [link iterator.specialized.counting `counting_iterator`]]
|
||||||
[def _filter_ [link iterator.specialized.filter `filter_iterator`]]
|
[def _filter_ [link iterator.specialized.filter `filter_iterator`]]
|
||||||
[def _function_ [link iterator.specialized.function_output `function_output_iterator`]]
|
[def _function_input_ [@../function_input_iterator.html `function_input_iterator`]]
|
||||||
|
[def _function_output_ [link iterator.specialized.function_output `function_output_iterator`]]
|
||||||
|
[def _generator_ [@../generator_iterator.htm `generator_iterator`]]
|
||||||
[def _indirect_ [link iterator.specialized.indirect `indirect_iterator`]]
|
[def _indirect_ [link iterator.specialized.indirect `indirect_iterator`]]
|
||||||
[def _permutation_ [link iterator.specialized.permutation `permutation_iterator`]]
|
[def _permutation_ [link iterator.specialized.permutation `permutation_iterator`]]
|
||||||
[def _reverse_ [link iterator.specialized.reverse `reverse_iterator`]]
|
[def _reverse_ [link iterator.specialized.reverse `reverse_iterator`]]
|
||||||
@ -128,10 +130,18 @@ templates.
|
|||||||
* _filter_: an iterator over the subset of elements of some
|
* _filter_: an iterator over the subset of elements of some
|
||||||
sequence which satisfy a given predicate
|
sequence which satisfy a given predicate
|
||||||
|
|
||||||
* _function_: an output iterator wrapping a unary function
|
* _function_input_: an input iterator wrapping a generator (nullary
|
||||||
|
function object); each time the iterator is dereferenced, the function object
|
||||||
|
is called to get the value to return.
|
||||||
|
|
||||||
|
* _function_output_: an output iterator wrapping a unary function
|
||||||
object; each time an element is written into the dereferenced
|
object; each time an element is written into the dereferenced
|
||||||
iterator, it is passed as a parameter to the function object.
|
iterator, it is passed as a parameter to the function object.
|
||||||
|
|
||||||
|
* _generator_: an input iterator wrapping a generator (nullary
|
||||||
|
function object); each time the iterator is dereferenced, the function object
|
||||||
|
is called to get the value to return. An outdated analogue of _function_input_.
|
||||||
|
|
||||||
* _indirect_: an iterator over the objects *pointed-to* by the
|
* _indirect_: an iterator over the objects *pointed-to* by the
|
||||||
elements of some sequence.
|
elements of some sequence.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user