version(debug)

Jonathan M Davis jmdavisProg at gmx.com
Sat Oct 6 11:24:11 PDT 2012


On Saturday, October 06, 2012 20:21:52 Andrej Mitrovic wrote:
> I don't even know why there is a version(Debug) when you can use a debug
> block.

There isn't. It's just that it compiles because Debug isn't a keyword. The 
code within a version(Debug) block won't be compiled in unless you define such 
a version yourself.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list