Is it ok to inherit multiple times same templated interface?
Dmitry Olshansky via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jan 15 13:30:16 PST 2017
On Sunday, 15 January 2017 at 20:33:30 UTC, Alexandru Ermicioi
wrote:
> Good day,
>
> Given following code example, where a templated interface Wr,
> and an implementation Im is present:
From the standpoint of the compiler they are 3 distinct
interfaces, so all is good.
> interface Wr(T) {
> T get();
> }
>
> [...]
More information about the Digitalmars-d-learn
mailing list