mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-12 05:51:37 +00:00
new file
[SVN r21614]
This commit is contained in:
parent
4f0684ffac
commit
a6b2a098c1
19
doc/make_transform_iterator.rst
Executable file
19
doc/make_transform_iterator.rst
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
::
|
||||||
|
|
||||||
|
template <class UnaryFunction, class Iterator>
|
||||||
|
transform_iterator<UnaryFunction, Iterator>
|
||||||
|
make_transform_iterator(Iterator it, UnaryFunction fun);
|
||||||
|
|
||||||
|
:Returns: An instance of ``transform_iterator<UnaryFunction, Iterator>`` with ``m_f``
|
||||||
|
initialized to ``f`` and ``m_iterator`` initialized to ``x``.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
template <class UnaryFunction, class Iterator>
|
||||||
|
transform_iterator<UnaryFunction, Iterator>
|
||||||
|
make_transform_iterator(Iterator it);
|
||||||
|
|
||||||
|
:Returns: An instance of ``transform_iterator<UnaryFunction, Iterator>`` with ``m_f``
|
||||||
|
default constructed and ``m_iterator`` initialized to ``x``.
|
Loading…
x
Reference in New Issue
Block a user