#ponce:

> Ok I was using D1.
> Final for variables must have been removed.

Good.


> What I understand is that D1's const force compile-time evaluation whereas 
> D2's don't. Not sure though.

const in D1 is very easy, you can't take the address of a const variable, it's 
like the enum in D2. Some people say that such kind of const isn't necessary if 
the linker gets a little smarter.

Bye,
bearophile

Reply via email to