This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch/RFC] libstdc++/16154 (aka: requirements of input iterators)
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Nathan Myers <ncm-nospam at cantrip dot org>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Wed, 23 Jun 2004 17:32:20 +0200
- Subject: Re: [Patch/RFC] libstdc++/16154 (aka: requirements of input iterators)
- References: <40D965D8.6050908@suse.de> <20040623131142.GU27836@tofu.dreamhost.com>
Nathan Myers wrote:
I seem to recall an open issue on that topic, from a couple of years back.
It seems certain that it was intended that input iterators be default
constructible.
I see, and it was like this in the original SGI STL. However I have just
double checked
and there are no official DRs about this issue...
Also, the current concept_check code in Boost, doesn't enforce the
requirement...
therefore, all in all...
The proposed change seems to be the prudent response to current
circumstances, though.
... I agree with you, indeed: this way we don't risk not compiling code
correct according
to the current Standard.
Paolo.