chrono: (system_clock::is_steady): Update to N3291 from is_monotonic.
authorBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 21 Jul 2011 03:27:51 +0000 (03:27 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 21 Jul 2011 03:27:51 +0000 (03:27 +0000)
commit1b97ec17bcaa096bb543a2d96b9290747c18399d
treef3fdc8718eaf6ac83f14016d727102242e79634b
parente56925329cb52516dae15ec334ffd89592ad555e
chrono: (system_clock::is_steady): Update to N3291 from is_monotonic.

2011-07-20  Benjamin Kosnik  <bkoz@redhat.com>
    Daniel Krugler  <daniel.kruegler@googlemail.com>

* include/std/chrono: (system_clock::is_steady): Update to N3291
from is_monotonic.
(time_point): Add constexpr to nonmember arithmetic operators.
* src/chrono.cc: Modify for above.
* src/compatibility-c++0x.cc: Same.
* testsuite/20_util/time_point/nonmember/constexpr.cc: New.
* testsuite/20_util/time_point/1.cc: Modify.
* testsuite/20_util/system_clock/constexpr_data.cc: Modify.
* testsuite/20_util/system_clock/1.cc: Modify.
* testsuite/20_util/monotonic_clock/constexpr_data.cc: Move to...
* testsuite/20_util/steady_clock/constexpr_data.cc: ...here.
* testsuite/30_threads/condition_variable/members/2.cc: Modify.
* testsuite/30_threads/condition_variable_any/members/2.cc: Modify.

From-SVN: r176549
12 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/chrono
libstdc++-v3/src/chrono.cc
libstdc++-v3/src/compatibility-c++0x.cc
libstdc++-v3/testsuite/20_util/monotonic_clock/constexpr_data.cc [deleted file]
libstdc++-v3/testsuite/20_util/steady_clock/constexpr_data.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/system_clock/1.cc
libstdc++-v3/testsuite/20_util/system_clock/constexpr_data.cc
libstdc++-v3/testsuite/20_util/time_point/1.cc
libstdc++-v3/testsuite/20_util/time_point/nonmember/constexpr.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/condition_variable/members/2.cc
libstdc++-v3/testsuite/30_threads/condition_variable_any/members/2.cc