Title
[[noreturn]] applied to function types
Status
nad
Section
9.12.11 [dcl.attr.noreturn]
Submitter
Joseph Myers

Created on 2009-03-07.00:00:00 last changed 187 months ago

Messages

Date: 2009-07-15.00:00:00

Rationale (July, 2009):

The CWG reaffirmed the previous decisions not to have attributes apply to types and did not believe that the benefits were sufficient for this case to make an exception to the general rule.

Date: 2022-11-20.07:54:16

The [[noreturn]] attribute, as specified in 9.12.11 [dcl.attr.noreturn], applies to function declarations and is not integrated with the type system. This is incompatible with existing practice (as in gcc) and should be reconsidered.

History
Date User Action Args
2009-08-03 00:00:00adminsetmessages: + msg2276
2009-08-03 00:00:00adminsetstatus: open -> nad
2009-03-07 00:00:00admincreate