version: multiple conditions

via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 15 05:48:31 PDT 2015


On Monday, 15 June 2015 at 08:25:08 UTC, Mike Parker wrote:
> Not using version statements. They only apply to the module in 
> which they are declared. To use it in multiple modules, you 
> need static if and enums.

Ackā€¦ That was new to me. What is the reasoning behind this?

> I like that better than the version statements anyway, so if we 
> aren't going to ever get boolean versions, I'll settle for the 
> static if approach.

Might as well.


More information about the Digitalmars-d mailing list