How to make Rust trait like feature in dlang ?

Guillaume Piolat contact+spam at spam.org
Mon Jun 17 09:23:35 UTC 2019


On Sunday, 16 June 2019 at 15:56:41 UTC, lili wrote:
> How do this, can dlang support conception like feature.

Not only D has static polymorphism, but it does so with open 
capabilities / "DbI" / duck-typing-at-compile-time.

A real eye opener is this talk: 
https://www.youtube.com/watch?v=LIb3L4vKZ7U

Why do you think C++ took "static if"?


More information about the Digitalmars-d mailing list