This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: reference type of output_iterator_wrapper
- From: "Chris Jefferson" <chris at bubblescope dot net>
- To: "Doug Gregor" <dgregor at cs dot indiana dot edu>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 17 Apr 2006 15:23:12 +0100
- Subject: Re: reference type of output_iterator_wrapper
- References: <6DDD8F2A-DE5C-44C5-A184-2942289D85C7@cs.indiana.edu>
On 4/17/06, Doug Gregor <dgregor@cs.indiana.edu> wrote:
> The testsuite_iterators.h header, part of the libstdc++-v3 testsuite,
> contains the struct template output_iterator wrapper. In the
> definition of this wrapper, the nested "reference" type (defined
> through std::iterator) conflicts with the type returned from operator*:
>
I agree with that patch. I wrote the iterator_wrappers quite a long
time ago, when my knowledge of C++ was somewhat less good than today
:) At some point I hope to go back and give them a good clean and
polish, but unfortunatly at the moment I have this damn Phd to finish
writing...
Chris