Difference between revisions of "c/keyword/ Noreturn"
From cppreference.com
m |
YexuanXiao (Talk | contribs) m |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
===Usage=== | ===Usage=== | ||
− | * {{tt|_Noreturn}} [[c/language/ | + | * [[c/language/_Noreturn | {{tt|_Noreturn}} function specifier]] {{mark deprecated c23}} |
+ | * [[c/language/attributes/noreturn | {{tt|_Noreturn}} attribute-token]] {{mark life|since=c23|deprecated=c23}} | ||
+ | |||
+ | ===Notes=== | ||
+ | Since C23, {{tt|_Noreturn}} is also [[c/language/attributes/noreturn|attribute token]]. Its usage is deprecated and {{tt|noreturn}} should be used instead. | ||
+ | |||
+ | {{langlinks|de|es|fr|it|ja|pt|ru|zh}} |
Latest revision as of 00:01, 11 November 2024
[edit] Usage
-
_Noreturn
function specifier (deprecated in C23) -
_Noreturn
attribute-token (since C23)(deprecated in C23)
[edit] Notes
Since C23, _Noreturn
is also attribute token. Its usage is deprecated and noreturn
should be used instead.