How can I test at compile time whether T is an instance of an interface ?

data pulverizer data.pulverizer at
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....

False alarm:

writeln("typeof( ", typeof(;

typeof( const(Node)

Oh well.

More information about the Digitalmars-d-learn mailing list