debug public release private
Cauterite via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jul 24 22:23:03 PDT 2016
On Monday, 25 July 2016 at 04:58:55 UTC, Gorge Jingale wrote:
> debug mixin("public"); else mixin("private");
Perhaps you could build a patched DMD which ignores 'private'.
Then when you want to compile with -debug, use this custom DMD,
and use the standard DMD the rest of the time.
I imagine it'd be a pretty simple patch, but I'm not certain.
More information about the Digitalmars-d-learn
mailing list