This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH] [4.6] shared_ptr needs explicit copy constructor


On 01/03/2012 12:01 PM, Jonathan Wakely wrote:
> On 3 January 2012 16:59, Jonathan Wakely wrote:
>> On 3 January 2012 16:23, Chase Douglas wrote:
>>> When compiling with a compiler that is conformant to the c++11
>>> spec for PR c++/50500, std::shared_ptr must have an explicitly
>>> defined copy constructor.
>> 
>> This has already been fixed in GCC 4.7, see PR 50500
> 
> Doh, sorry - I should have actually read your message!
> 
> As I said in 51699, I agree with backporting relevant library
> fixes, so I'm ok with this change.  Has it also been testing using
> G++ 4.6 as the compiler? :)

Maybe if there was a test case to go with the patch....

-- 
Stephen M. Webb  <stephen.webb@bregmasoft.ca>


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