On Thursday, 17 May 2018 at 20:38:13 UTC, Sjoerd Nijboer wrote:
But then how do you put this into a mixin template so I can ...
        mixin castingRules(typeof(this) T);

I guess I can refine my question to "How do you let a mixin template detect the template name it is instantiated with and return its type whitout the template arguments.


Reply via email to