Find out most derived class in base class

Michal Minich michal.minich at gmail.com
Fri Nov 19 12:50:13 PST 2010


How do I solve this, without parametrizing class.

class Base {
    void foo () { I want get somehow to type *Derived2* at CT }
}

class Derived1 : Base { }
class Derived2 : Base { }


More information about the Digitalmars-d-learn mailing list