Hello sybrandy,

Btw: I was doing this for a logging library that I was working on.  As
one can deduce, when you have a lot of logging statements in your
code, being able to leverage a mixin to cleanly enable/disable the
functionality in conjunction with a compiler switch can have an impact
on performance.

How were you doing it that the mixin keyword got in your way? I think the following should work right now:

version(WithLogging) mixin Logging!(whatever);

--
<IXOYE><


Reply via email to