debug public release private

Gorge Jingale via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jul 24 21:58:55 PDT 2016


debug mixin("public"); else mixin("private");

Doesn't work.

It's nice to have public members when debugging because they show 
up in the debugger and one can access internals for checking. One 
can enable per line using debug but it requires lots of duplicate 
code.


Is there any easy way to do this?




More information about the Digitalmars-d-learn mailing list