Rant after trying Rust a bit
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 23 23:42:48 PDT 2015
On 7/23/2015 10:39 PM, Tobias Müller wrote:
> You may aus well ask "How do interfaces in OO programming deal with this?".
It's a good question. And the answer is, the top level function does not list
every interface used by the call tree. Nested function calls test at runtime if
a particular interface is supported by an object, using dynamic casting or
QueryInterface() calls. It's fundamentally different from traits and concepts.
More information about the Digitalmars-d
mailing list