List of reserved words

Alex Rønne Petersen alex at
Thu Oct 11 11:52:07 PDT 2012

On 11-10-2012 20:41, Maxim Fomin wrote:
> On Thursday, 11 October 2012 at 18:20:27 UTC, monarch_dodra wrote:
>> In C, *technically*, anything ending in _t is reserved for future
>> usage, but this is not enforced.
> Where this is claimed?

None of these macro names, nor the identifier defined, shall be the 
subject of a  #define or a #undef preprocessing directive. Any other 
predefined macro names  shall begin with a leading underscore followed by 
an uppercase letter or a second  underscore.

So, it's not explicitly reserved, but your code can suddenly start doing 
weird things if you prefix an identifier with an underscore.

This is why new keywords/types are named like _Noreturn, _Thread_local, etc.

Alex Rønne Petersen
alex at

More information about the Digitalmars-d mailing list