Why version() ?
Don
nospam at nospam.com
Tue Feb 10 06:17:15 PST 2009
bobef wrote:
> I was thinking... what is the point of version() ? It is so inflexible. There is no even version(!...). Why not "static if(version(DMD))" or static if(is(version == DMD))?
>
> Regards,
> bobef
version() is MUCH older than static if. It dates from a very early time
in D's history.
I requested module-scope static if, and Walter said "that's probably
almost impossible to implement", but he did it anyway <g>.
More information about the Digitalmars-d
mailing list