This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/53901] [C++11] std::atomic<T> fails for type without trivial default constructor and trivial destructor
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Jul 2012 15:56:33 +0000
- Subject: [Bug libstdc++/53901] [C++11] std::atomic<T> fails for type without trivial default constructor and trivial destructor
- Auto-submitted: auto-generated
- References: <bug-53901-4@http.gcc.gnu.org/bugzilla/>
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.