CWG Issue 1465 (original) (raw)
This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 118e. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-11-05
1465.noexcept and std::bad_array_new_length
Section: 7.6.2.7 [expr.unary.noexcept]Status: CD4Submitter: Daniel KrüglerDate: 2012-02-12
[Moved to DR at the November, 2014 meeting.]
The list of causes for a false result of the noexceptoperator 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 ofissue 1351.