List of reserved words

Maxim Fomin maxim at maxim-fomin.ru
Thu Oct 11 11:46:35 PDT 2012


On Thursday, 11 October 2012 at 07:00:10 UTC, Jacob Carlborg 
wrote:
> On dlang.org there's a page containing all the keywords, which 
> are reserved:
>
> http://dlang.org/lex.html
>
> But it would also be nice to have a list of words/symbols that 
> are not keywords but could otherwise be thought of being 
> reserved. These are words that will make it problematic if used 
> in user code in the wrong context. I thinking mostly of naming 
> a module "object" or a class "Object", the compiler will not be 
> happy seeing that.
>
> What other "reserved" words like these does D have?

http://dpaste.dzfl.pl/c67b25a9

_param_%x identifiers where %x is an integer from 0 are 
implicitly declared and correspond to anonymous function 
parameters.




More information about the Digitalmars-d mailing list