Why version() ?

Derek Parnell derek at psych.ward
Tue Feb 10 04:43:24 PST 2009


On Tue, 10 Feb 2009 13:08:03 +0100, Don wrote:

> A&&B is not so terrible, since you can do it by nesting, as above.
> The big problem is A || B. It creates a mess.

version(A) version = AorB;
version(B) version = AorB;
version(AorB) {
  . . .
}

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list