More magical AA semantics

deadalnix deadalnix at gmail.com
Fri Jan 11 03:12:07 PST 2013


On Friday, 11 January 2013 at 10:59:00 UTC, monarch_dodra wrote:
> It is meant to be an lvalue, and is the reason this is legal in 
> both C++ and D:
>
> int main()
> {
>     int a = 0;
>     ++++a;
>     return 0;
> }

OK, it seems I talked too fast here. Still it seems very weird to 
me :D


More information about the Digitalmars-d mailing list