Things that may be removed

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Dec 22 09:58:07 PST 2008


dsimcha wrote:
> == Quote from Don (nospam at nospam.com)'s article
>> * The postincrement and postdecrement operators (make x++, x-- identical
>> to ++x, --x, except that it is illegal to use the return value.
> 
> Why?  This is a nice piece of syntactic sugar to make relatively simple code more
> concise.

I think he refers to defining them as distinct functions. He doesn't 
want to render either usage invalid.


Andrei



More information about the Digitalmars-d mailing list