version(debug)
Jonathan M Davis
jmdavisProg at gmx.com
Sun Oct 7 00:35:55 PDT 2012
On Sunday, October 07, 2012 09:27:31 denizzzka wrote:
> I've got a situation that debug information should be placed into
> the class via the constructor. Therefore, when used -debug
> constructor has another arguments list, and its need debug {}
> else {} for ctor calling.
Which is fine. It's just that you need to realize that debug blocks are enabled
with -debug and have nothing to do with whether -release is used or not, so it
doesn't correspond with what people typically mean when they talk about debug
mode and release mode.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list