Is there any chance to introduce concepts/traits/typeClasses in dlang?

sighoya sighoya at gmail.com
Mon Dec 16 16:45:12 UTC 2019


I thought about your InputRange!T example and took a look at 
https://dlang.org/library/std/typecons/wrap.html

I quite nice solves the problem with passing structures to 
interfaces, though it would still be nice if this is done 
automatically.


More information about the Digitalmars-d mailing list