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
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| explicit_instantiation | Loading commit data... | |
| constexpr_functions.cc | Loading commit data... | |
| noexcept.cc | Loading commit data... | |
| sfinae_friendly_1.cc | Loading commit data... | |
| treat_as_floating_point_v.cc | Loading commit data... | |
| typedefs_neg1.cc | Loading commit data... | |
| typedefs_neg2.cc | Loading commit data... | |
| typedefs_neg3.cc | Loading commit data... |