opAddAssign still works

bearophile bearophileHUGS at lycos.com
Tue May 11 04:34:04 PDT 2010


Pelle:
> Not yet, it's not. To compile something that's deprecated, you will need 
> the -d switch.

That's for user code marked with 'deprecated':
http://www.digitalmars.com/d/2.0/attribute.html#deprecated
I don't think it is designed to work with compiler/language features too.

The D1 compiler has a switch (-v1), that's missing in D2, for deprecated compiler features, maybe something similar will be put back.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list