mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-11 21:43:54 +00:00
added default constructor stuff to 9.31
[SVN r21862]
This commit is contained in:
parent
4abd97910d
commit
413d0b01cf
@ -1834,6 +1834,15 @@ to assign through a dereferenced iterator that f(x) has to work,
|
|||||||
and then only for the particular function object that the iterator
|
and then only for the particular function object that the iterator
|
||||||
holds and for the particular value that is being assigned.
|
holds and for the particular value that is being assigned.
|
||||||
|
|
||||||
|
|
||||||
|
Addition from Jeremy:
|
||||||
|
The constructor for ``function_output_iterator`` is also
|
||||||
|
slightly overconstrained because it requires
|
||||||
|
the ``UnaryFunction`` to have a default constructor
|
||||||
|
even when the default constructor of ``function_output_iterator``
|
||||||
|
is not used.
|
||||||
|
|
||||||
|
|
||||||
:Proposed resolution:
|
:Proposed resolution:
|
||||||
|
|
||||||
Change:
|
Change:
|
||||||
@ -1904,6 +1913,17 @@ holds and for the particular value that is being assigned.
|
|||||||
return *this;
|
return *this;
|
||||||
|
|
||||||
|
|
||||||
|
Change::
|
||||||
|
|
||||||
|
explicit function_output_iterator(const UnaryFunction& f = UnaryFunction());
|
||||||
|
|
||||||
|
to::
|
||||||
|
|
||||||
|
explicit function_output_iterator();
|
||||||
|
|
||||||
|
explicit function_output_iterator(const UnaryFunction& f);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
9.32 Should output_proxy really be a named type?
|
9.32 Should output_proxy really be a named type?
|
||||||
================================================
|
================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user