This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for member template classes
>>>>> Alexandre Oliva <oliva@dcc.unicamp.br> writes:
> Jason Merrill <jason@cygnus.com> writes:
>> I think the bug is that the standard specifies auto_ptr_ref as a nested
>> class. I've brought this up before in discussions about auto_ptr.
> It's not a bug
Take a look at g++.pt/auto_ptr1.C. Try moving auto_ptr_ref into auto_ptr,
and notice that it breaks. How would you propose to avoid that?
Jason