This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/54025] atomic<chrono::duration> won't compile: chrono::duration::duration() is not C++11 compliant
- 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: Thu, 19 Jul 2012 12:08:29 +0000
- Subject: [Bug libstdc++/54025] atomic<chrono::duration> won't compile: chrono::duration::duration() is not C++11 compliant
- Auto-submitted: auto-generated
- References: <bug-54025-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54025
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-19 12:08:29 UTC ---
(In reply to comment #6)
> I think that test is wrong, a duration is only constexpr_default_constructible
> if the rep type has a default-constructor
... that initializes all its members.