Template subclasses

Andrew andrew.spott at gmail.com
Thu May 28 20:11:50 PDT 2009


I'm curious how someone implements a templated class.  Basically, how do I do this:

Class Foo(T) {
  T bar;
}

Class Fee:Foo {
  T fum;
}

Any ideas?

thanks

-Andrew


More information about the Digitalmars-d-learn mailing list