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>.


Reply via email to