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

Reply via email to