aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-01-11 23:41:05 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2019-01-11 23:41:05 +0000
commit5e9aed14dcb5c984186f8b1e042bde9f3aaafa5e (patch)
tree61967e9e3bcec9ac2316154f7963b57bd7093a4f /gcc
parent89508a3fc645ef37340e31c74995c3078e1b1b9b (diff)
downloadgcc-5e9aed14dcb5c984186f8b1e042bde9f3aaafa5e.zip
gcc-5e9aed14dcb5c984186f8b1e042bde9f3aaafa5e.tar.gz
gcc-5e9aed14dcb5c984186f8b1e042bde9f3aaafa5e.tar.bz2
P0972R0 <chrono> zero(), min(), and max() should be noexcept
This paper has been included in the C++20 draft, but the changes to add noexcept can be made unconditionally, to apply for C++11 too. * include/std/chrono (duration_values::zero(), duration_values::min()) (duration_values::max()): Add noexcept. (duration::zero(), duration::min(), duration::max()): Likewise. (time_point::zero(), time_point::min(), time_point::max()): Likewise. * testsuite/20_util/duration/requirements/noexcept.cc: New test. * testsuite/20_util/time_point/requirements/noexcept.cc: New test. From-SVN: r267865
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions