Implement C++17 rounding functions for std::chrono (P0092R1)
authorJonathan Wakely <jwakely@redhat.com>
Fri, 5 Aug 2016 13:52:59 +0000 (14:52 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 5 Aug 2016 13:52:59 +0000 (14:52 +0100)
commit5f6acdfb0ba89c642058479a3e2d78edbc94d2f1
treef6ce94aae8f245f477ba0df6a4ea83fe617ead9b
parent24bc5921a89095e3d1b89f7b9fd7d1c3a448a735
Implement C++17 rounding functions for std::chrono (P0092R1)

* include/std/chrono (floor, ceil, round, abs): New for C++17.
* testsuite/20_util/duration_cast/rounding.cc: New test.
* testsuite/20_util/time_point_cast/rounding.cc: New test.
* doc/xml/manual/status_cxx2017.xml: Update status table.
* doc/html/manual/status.html: Regenerate.
* testsuite/20_util/duration/requirements/typedefs_neg1.cc: Adjust
dg-error lineno.
* testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise.
* testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise.
* testsuite/20_util/duration/literals/range.cc: Likewise.

From-SVN: r239170
libstdc++-v3/ChangeLog
libstdc++-v3/doc/html/manual/status.html
libstdc++-v3/doc/xml/manual/status_cxx2017.xml
libstdc++-v3/include/std/chrono
libstdc++-v3/testsuite/20_util/duration/literals/range.cc
libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg1.cc
libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg2.cc
libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg3.cc
libstdc++-v3/testsuite/20_util/duration_cast/rounding.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/time_point_cast/rounding.cc [new file with mode: 0644]