How can I test at compile time whether T is an instance of an interface ?
wjoe
invalid at example.com
Wed Sep 23 19:27:13 UTC 2020
On Wednesday, 23 September 2020 at 19:08:47 UTC, data pulverizer
wrote:
> On Wednesday, 23 September 2020 at 18:56:33 UTC, wjoe wrote:
>> [...]
>
> Didn't think that the compiler didn't know but wasn't aware
> that you could use that information to statically dispatch. My
> mistake, I'll shut up now!
Appologies if you took offense. Your replies are very much
appreciated.
More information about the Digitalmars-d-learn
mailing list