How can I test at compile time whether T is an instance of an interface ?
data.pulverizer at gmail.com
Wed Sep 23 20:51:52 UTC 2020
On Wednesday, 23 September 2020 at 20:19:04 UTC, data pulverizer
> This has prompted me to write a data structure that I thought
> would be impossible until now....
writeln("typeof(x.next): ", typeof(x.next).stringof);
More information about the Digitalmars-d-learn