Namespaces
Variants
Views
Actions

Difference between revisions of "c/keyword/ Noreturn"

From cppreference.com
< c‎ | keyword
m
m
 
(7 intermediate revisions by 3 users not shown)
Line 3: Line 3:
  
 
===Usage===
 
===Usage===
* {{tt|_Noreturn}} [[c/language/function_specifiers | function specifier]].
+
* [[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

[edit] Notes

Since C23, _Noreturn is also attribute token. Its usage is deprecated and noreturn should be used instead.