Joel C. Salomon wrote:
Walter Bright wrote:
So I suggest:

version (SomeFeature)
{
    codeForFeature();
}

is clearer, even if SomeFeature is the default.

Apologies if this is obvious, but:
• How do you set SomeFeature as default? and

Either via the command line, or by the statement:

version = SomeFeature;


• How do you declare the non-implementation of SomeFeature?

Don't declare the version SomeFeature.

Reply via email to