minwin
Tomas Lindquist Olsen
tomas at famolsen.dk
Tue Nov 28 21:15:17 PST 2006
Bill Baxter wrote:
>
> Agreed. 'version' is basically just an emasculated special case of
> 'static if'. 'static if' didn't exist when 'version' was created, but
> now that it does, I think it would make more sense if version became a
> kind of static if with access to a special version namespace. 'Windows'
> should be treated like an alias for true if it is indeed defined,
> otherwise false, and you should be allowed to do boolean ops with any
> constant values in your program inside the version statement.
>
> --bb
I dont think a version statement should be able to access anything but
versions. besides that I agree!
More information about the Digitalmars-d-announce
mailing list