Quantcast
Channel: User CPlus - Programming Language Design and Implementation Stack Exchange
Viewing all articles
Browse latest Browse all 65

Why did C99 have to add the underscored keywords for _Bool _Complex _Imaginary but not for inline or restrict?

$
0
0

C99 introduced the following keywords: _Bool_Complex_Imaginaryinlinerestrict

Why _Bool_Complex and _Imaginary instead of just boolcomplex and imaginary? To preserve backwards compatibility for existing codebases that might use boolcomplex or imaginary.

However, if that was a problem, why would that not have been a problem with inline and restrict too? How was C99 able to get away with adding those keywords directly rather than as _Underscored keywords?


Viewing all articles
Browse latest Browse all 65

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>