Version() for unittest OR debug?

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 10 23:50:06 PDT 2014


debug version = DebugOrUnittest;
else version(unittest)version = DebugOrUnittest;

version(DebugOrUnittest) { static 
assert(false,"DebugOrUnittest"); }


More information about the Digitalmars-d-learn mailing list