Smartphones and D

Trass3r un at known.com
Sun Jan 30 04:50:07 PST 2011


> Examples would be how
>
> date += duration;
>
> becomes
>
> date.opOpAssign!"+="(duration);

Ah got it.

> I'm not sure that it really helps optimize anything though. It just makes
> it easier to implement new features by defining them in terms of older,  
> more basic, already implemented features.

Yep, more like syntactic sugar.


More information about the Digitalmars-d mailing list