Change some keywords and enum manifests?

bearophile bearophileHUGS at lycos.com
Thu Apr 29 02:18:19 PDT 2010


Pelle:
> auto p = &y;
> Can't do that with an enum!

Right. But if no address of y is ever taken, and other conditions are met, a smart compiler can think of y as a manifest constant and remove it.

Bye,
bearophile



More information about the Digitalmars-d mailing list