[Bug libstdc++/60867] std::atomicstd::unique_ptrT should fail to compile since unique_ptr is not trivial to copy

2014-04-17 Thread kjell.hedstrom at logrhythm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60867 --- Comment #2 from Kjell Hedstrom kjell.hedstrom at logrhythm dot com --- Sounds good. the error is in your code not the library Yes. Code like that is obviously faulty. I am happy that you are considering putting in a static_assert. From

[Bug libstdc++/60867] New: std::atomicstd::unique_ptrT should fail to compile since unique_ptr is not trivial to copy

2014-04-16 Thread kjell.hedstrom at logrhythm dot com
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: kjell.hedstrom at logrhythm dot com Created attachment 32621 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32621action=edit main.ii compiled with: g