This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of New status.

2923. noexcept is inconsistently applied across headers which import components of the C standard library

Section: 24.9.1 [cmath.syn] Status: New Submitter: United States Opened: 2017-02-03 Last modified: 2017-07-16

Priority: 4

View other active issues in [cmath.syn].

View all other issues in [cmath.syn].

View all issues with New status.

Discussion:

Addresses US 172

noexcept is inconsistently applied across headers which import components of the C standard library into the C++ library; some functions (std::abort(), std::_Exit(), etc) are defined as noexcept in some places, but not in others. Some functions which seem like they should be noexcept (std::abs(), std::div(), etc) are not defined as noexcept.

Proposed change: Make the majority of the C library functions (with exceptions such as std::qsort() and std::bsearch(), which can call user code) noexcept.

[2017-07 Toronto Thurs Issue Prioritization]

Priority 4

Proposed resolution: