This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 110c. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2023-02-07


1465. noexcept and std::bad_array_new_length

Section: 7.6.2.7  [expr.unary.noexcept]     Status: CD4     Submitter: Daniel Krügler     Date: 2012-02-12

[Moved to DR at the November, 2014 meeting.]

The list of causes for a false result of the noexcept operator does not include a new-expression with a non-constant array bound, which could result in an exception even if the allocation function that would be called is declared not to throw (see 7.6.2.8 [expr.new] paragraph 7).

Proposed resolution (June, 2012):

This issue is resolved by the resolution of issue 1351.