Title
Keyword vs attribute for noreturn
Status
nad
Section
9.12.10 [dcl.attr.noreturn]
Submitter
GB

Created on 2010-08-02.00:00:00 last changed 166 months ago

Messages

Date: 2010-08-15.00:00:00

Rationale (August, 2010):

CWG felt that an attribute was a more appropriate representation for this feature.

Date: 2022-11-20.07:54:16
N3092 comment GB 32

C has rejected the notion of attributes, and introduced the noreturn facility as a keyword. To continue writing clean, portable code we should replace the [[noreturn]] attribute with a noreturn keyword, following the usual convention that while C obfuscates new keywords with _Capital and adds a macro to map to the comfortable spelling, C++ simply adopts the all-lowercase spelling.

History
Date User Action Args
2010-08-23 00:00:00adminsetmessages: + msg2945
2010-08-02 00:00:00admincreate