On Thursday, 3 September 2015 at 18:42:37 UTC, H. S. Teoh wrote:
Now, in C, unary + actually does something -- it causes promotion of narrow ints to int. I'm not sure if it does that in D as well.

what is this, javascript? a|0 :P

Seriously though, I never knew that. And I can't find where unary + is defined in D... I see the grammar line, but not explanation of what it actually does.

Perhaps it is meant to be self-evident!

Reply via email to