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: Benjamin Kosnik <bkoz at redhat dot com>
- To: Doug Gregor <dgregor at cs dot indiana dot edu>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 17 Apr 2006 12:30:08 -0500
- Subject: Re: reference type of output_iterator_wrapper
- References: <6DDD8F2A-DE5C-44C5-A184-2942289D85C7@cs.indiana.edu>
> --- testsuite_iterators.h.old 2006-04-17 09:50:07.000000000 -0400
> +++ testsuite_iterators.h 2006-04-17 09:50:37.000000000 -0400
> @@ -115,7 +115,7 @@
> */
> template<class T>
> struct output_iterator_wrapper: public std::iterator
> - <std::output_iterator_tag, T, ptrdiff_t, T*, T&>
> + <std::output_iterator_tag, T, ptrdiff_t, T*, WritableObject<T> >
> {
> typedef OutputContainer<T> ContainerType;
> T* ptr;
>
>
> 2006-04-17 Douglas Gregor <dgregor@cs.indiana.edu>
>
> * testsuite/testsuite_iterators.h (output_iterator_wrapper):
> WritableObject<T> is the reference type.
>
looks good doug. Please feel free to check in.
-benjamin