version and debug statements

Anders F Björklund afb at algonet.se
Thu May 11 00:01:40 PDT 2006


Daniel Keep wrote:

>> version (foo) {} else
>> {
>>      ....
>> }

> That's odd, given that D is more or less designed to avoid silly hacks
> like this...

Both D and W seem to be more open to suggestions now,
so maybe it will be added in a future DMD version yet ?

I'm still naively hoping for both of "version (Unix)"
and "version (!Windows)" to be defined and legal in D.

--anders



More information about the Digitalmars-d mailing list