[v3] PATCH to add non-const deleted thread copy constructor

Jason Merrill jason@redhat.com
Fri Aug 6 19:42:00 GMT 2010


We've previously discussed using SFINAE to prevent an ill-formed attempt 
to copy a thread from matching the variadic constructor, but a simpler 
solution is just to declare the non-const copy ctor as well as the usual 
const variant.

Tested x86_64-pc-linux-gnu, approved by bkoz, applied to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thread-ctor.patch
Type: text/x-patch
Size: 1404 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20100806/aaaf4454/attachment.bin>


More information about the Libstdc++ mailing list