On Friday, 18 January 2019 at 01:00:33 UTC, H. S. Teoh wrote:
Maybe you could help us answer your question better by
explaining a bit more what you're trying to achieve. Generally,
if you want to use an interface, that usually means you want (1)
runtime polymorphism, i.e., the ability to swap
Hello,
Preface: I do apologize if this is too simplistic of a matter,
and if I need to RTFM. I'm quite slow.
I want to use Structs instead of Classes, but I don't want to
lose the abilities of Interfaces. So instead I used a combination
of templates, constraints, the hasMember trait, and del