What is the best way to program over "abstract" types in D?

Adam D. Ruppe destructionator at gmail.com
Sat Nov 23 21:52:40 UTC 2019


On Saturday, 23 November 2019 at 20:22:44 UTC, Ola Fosheim 
Grøstad wrote:
> I guess it is possible to use introspection somehow?

Yeah, you have to write a function that checks it with 
introspection and then static assert on it somewhere.


More information about the Digitalmars-d-learn mailing list