Please stop polluting D 2.0 with C/C++ programmer assumptions.

Aziz K. aziz.kerim at gmail.com
Mon Dec 3 06:22:58 PST 2007


Walter Bright wrote:
> The rule to resolve "is it a type or an expression" is that if it parses  
> as a type, it is a type.
Yes, I know this is the general rule. Isn't it true that  
"Identifier(*Identifier)" could be parsed as a function pointer  
declaration? But an exception must be made, and precedence must be given  
to an expression instead of a declaration.



More information about the Digitalmars-d mailing list