[Bug libstdc++/54025] atomic<chrono::duration> won't compile: chrono::duration::duration() is not C++11 compliant

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 19 12:34:00 GMT 2012


--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-19 12:34:19 UTC ---
Oh, I think our current code might be intentional, we should ask Benjamin:

See c++std-lib-32464 for rational for the std semantics i.e.
duration<trivial_type> is a trivial type, and leaves the rep uninitialized.

More information about the Gcc-bugs mailing list