This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: reference type of output_iterator_wrapper


> --- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]