Jeremie Pelletier:

> I never use it either, this identifier is rather pointless. Both 
> compilers will still parse both conditions and errors on the branch for 
> the other version.

Sorry, as usual I want not precise enough, I meant I don't like the name of 
that identifier, but I use that functionality, I use version(D_Version2) when I 
want to write code that works with both Phobos1 and Phobos2 (so for example I 
import to!(int, string) from Phobos2 and toInt from Phobos1).

Bye,
bearophile

Reply via email to