Templated Interfaces?

Ary Borenszweig ary at esperanto.org.ar
Sun Aug 24 08:31:50 PDT 2008


Benji Smith a écrit :
> I've been trying to create a templated interface, and can't figure out 
> what I'm doing wrong. Here's the basic example:
> 
> interface I(T) {
>   public T x();
> }
> 
> class C(T) : I(T) {

class C(T) : I!(T) {


More information about the Digitalmars-d-learn mailing list