This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/53901] [C++11] std::atomic<T> fails for type without trivial default constructor and trivial destructor


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53901

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-09 15:56:33 UTC ---
Actually I'm not sure the testcase is valid.

Defining the functions as defaulted outside the class does allow it to compile,
but I think that might be a G++ bug.  I'll get clarification from the LWG.


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