Fact checking for my talk
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Sat Aug 13 12:24:12 PDT 2016
On 8/13/2016 6:02 AM, Liam McSherry wrote:
> For "static if," C# also has a very limited conditional compilation system that
> is barely comparable. Symbols can be defined at compile time, but they can't
> have values and they can only be used with specific directives:
> ---
> #define X
>
> #if X
> doA();
> #else
> doB();
> #endif
> ---
That seems to correspond with D's 'version' construct.
More information about the Digitalmars-d
mailing list