Template Inheritance

%u blm768 at gmail.com
Sat Feb 18 17:23:13 PST 2012


I think I got it! This seems to work:

class Derived {
    //Pulls in all the template forms in the base class
    template get(args ...) {
        alias Base.get!args get;
    }

    //Create new versions of get() here.
}


More information about the Digitalmars-d-learn mailing list