Creating a template mixin for explicit casts.
Sjoerd Nijboer
sjoerdnijboer at gmail.com
Thu May 17 20:40:35 UTC 2018
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.
More information about the Digitalmars-d-learn
mailing list