Skip to content

Nobody1707/C2x-Keywords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

C2x-Keywords

New Keywords and Feature Test Macros from C2x.

c2x_keywords.h contains a forwards compatible implementation of the new keyword macros from C2x. As it only contains (conditional) macro definitions, it does not need an include guard.

All of the new keywords are their own feature test macro, and I make no attempt to undefine any of these macros, so this file is safe to include even after your compiler starts supporting these keywords natively.

It's also safe, but not recommended, to pre-include the standard headers that define these macros, except for <stdbool.h>, as the versions of true and false in that header are defined as ints instead of as _Bools.

About

New Keywords and Feature Test Macros from C2x.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages