re PR libstdc++/49151 ([C++0x][constexpr] chrono::duration has incorrect non-member...
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 24 May 2011 23:29:19 +0000 (23:29 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 24 May 2011 23:29:19 +0000 (23:29 +0000)
commitb850be9d50210da752443e730723285bbd1b7c96
treec4d004bbe77dcf9366cdceb284257616b3ae489d
parent24d1bbc7b5ea8655be7fa40a462a417cac8e8ecd
re PR libstdc++/49151 ([C++0x][constexpr] chrono::duration has incorrect non-member operator semantics)

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.

From-SVN: r174150
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/chrono
libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc [new file with mode: 0644]