[Bug libstdc++/49151] [C++0x][constexpr] chrono::duration has incorrect non-member operator semantics

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 25 00:13:00 GMT 2011


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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-05-24 23:29:23 UTC ---
Author: paolo
Date: Tue May 24 23:29:19 2011
New Revision: 174150

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174150
Log:
2011-05-24  Paolo Carlini  <paolo.carlini@oracle.com>

    PR libstdc++/49151
    * include/std/chrono (operator+, operator-, operator*, operator/,
    operator&): Implement LWG 2020 [WP]; specify constexpr.
    * testsuite/20_util/duration/arithmetic/dr2020.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/chrono



More information about the Gcc-bugs mailing list