added default constructor stuff to 9.31

[SVN r21862]
This commit is contained in:
Jeremy Siek 2004-01-21 16:25:41 +00:00
parent 4abd97910d
commit 413d0b01cf

View File

@ -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
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:
Change:
@ -1904,6 +1913,17 @@ holds and for the particular value that is being assigned.
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?
================================================