Feedback Thread: DIP 1037--Add Unary Operator ...--Community Review Round 1

Andrei Alexandrescu SeeWebsiteForEmail at erdani.com
Fri Oct 30 18:27:22 UTC 2020


On 10/27/20 10:34 PM, Manu wrote:
> I mention that it's a postfix unary operator. I think that implies the 
> precedence, no?
> All the postfix operators work from the inside outwards. If there's 
> precedence levels in there that I didn't notice, then I can amend to 
> make it explicit.

I'd say there's enough subtlety to this to warrant explanation. For 
starters, it's not quite an operator because operators yield 
expressions, whereas this yields a comma-separated list.



More information about the Digitalmars-d mailing list