version and debug statements
Daniel Keep
daniel.keep.lists at gmail.com
Thu May 11 00:08:36 PDT 2006
Anders F Björklund wrote:
> 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
Well, I'll continue to hope that at some point it grows boolean
expressions in version statements like "version(BSD | Linux)", but I can
live without those :)
-- Daniel
--
v1sw5+8Yhw5ln4+5pr6OFma8u6+7Lw4Tm6+7l6+7D
a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP http://hackerkey.com/
More information about the Digitalmars-d
mailing list