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: [v3] PR43820 require complete type in shared_ptr


On 05/27/2010 02:45 PM, Jonathan Wakely wrote:
> 	PR libstdc++/43820
> 	* include/bits/shared_ptr_base.h: Require complete type.
> 	* include/tr1/shared_ptr.h: Likewise.
> 	* testsuite/20_util/shared_ptr/cons/43820.cc: New.
> 	* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: New.
>
> This addresses the shared_ptr part of PR43820.
> Tested x86_64/Linux. I'm away for a few days, will commit to trunk
> when I get back. Although it's a regression this change makes invalid
> uses into a hard error where we only warned in old releases, so I'm
> not sure about applying it to 4.4 and 4.5
>   
Hi agree, let's apply this to mainline only. And I think the issue can
be safely closed, let's not fiddle with auto_ptr, really.

Thanks,
Paolo.


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