Why version() ?

Jarrett Billingsley jarrett.billingsley at gmail.com
Wed Feb 11 08:27:20 PST 2009


On Wed, Feb 11, 2009 at 9:49 AM, Joel C. Salomon <joelcsalomon at gmail.com> wrote:
> version(!Windows)
>    // some added functionality that depends on UNIX-like semantics
>
> Then port the code to something oddball—Plan 9, say, or VMS.

I use versions for things other than platform-specific code.  Like
library compilation options.



More information about the Digitalmars-d mailing list