Abstract functions in child classes

Adam Adam at Anizi.com
Fri Dec 2 12:27:23 PST 2011


So this pattern allows you to provide partial implementations of an
abstract, and use template specialization to provide a sort of
"multiple inheritance" rather than strict class definition /
extension. That's important in Scala because of the lack of multiple
inheritance (as I understand it).

Am I understanding this correctly - that the point of this approach is
to replicate composition by multiple inheritance?


More information about the Digitalmars-d-learn mailing list