On 2014-02-14 14:50, 1100110 wrote:

This does come with a cost.

I dont know enough about TLS to comment really. Thoughts?

Dynamic cast can be disabled.

static this/~this is tougher.  If it is possible for it to work, then it
should.

This requires ModuleInfo, if I recall correctly.

profiling and code coverage are fine left out, since other tools can
fill the same task.

Doesn't that require another flag anyway?

It would be nice if assert didn't depend on the runtime, but it's easy
enough to implement.  conditional, message and  exit();

unittests are out as well.

Theoretically it should be possible to just disabled the ModuleInfo part and then use __traits(getUnitTests) instead.

--
/Jacob Carlborg

Reply via email to