reference type of output_iterator_wrapper
Benjamin Kosnik
bkoz@redhat.com
Mon Apr 17 17:30:00 GMT 2006
> --- 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
More information about the Libstdc++
mailing list