Rainer Deyke wrote:
Walter Bright wrote:
Rainer Deyke wrote:
  - Implementation inheritance of value types, even without actual
polymorphism, is useful.  See, for example, the curiously recurring
template pattern (and all of its uses).
You can do this with 'alias this'.

Composition instead of inheritance?  Doesn't work if I need virtual
functions.

This is going in circles. You started from "implementation inheritance of value types, even without actual polymorphism".

Andrei

Reply via email to