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

2024-12-19


1685. Value category of noexcept expression

Section: 7.6.2.7  [expr.unary.noexcept]     Status: NAD     Submitter: Daniel Krügler     Date: 2013-05-16

According to 7.6.2.7 [expr.unary.noexcept] paragraph 2,

The result of the noexcept operator is a constant of type bool and is an rvalue.

Obviously, the result should be a prvalue.

(See also issue 1642, which deals with missing specifications of value categories.)

Notes from the September, 2013 meeting:

This issue is being handled editorially and is being placed in "review" status to ensure that the change has been made.

Rationale (February, 2014):

The change has been made editorially.