Precedences of unary minus and dot operators

bearophile bearophileHUGS at lycos.com
Fri Nov 8 05:59:00 PST 2013


Dicebot:

> Yes it is expected and reasonable to me. Otherwise you'd need 
> brackets for every expression like this: `-aggregate.field`

For me it's weird... :-)

Thank you for the answers.

Bye,
bearophile


More information about the Digitalmars-d mailing list