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(); } [...]
Dmitry Olshansky via Digitalmars-d-learn Sun, 15 Jan 2017 13:36:08 -0800
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(); } [...]