Recommended ways to handle final classes
Dicebot
public at dicebot.lv
Fri Aug 16 09:12:49 PDT 2013
It very is likely that you in fact want A to be a struct and _A -
template mixin.
In other words, you are trying to express a relationship that
does not really model anything in OOP terms. You proposal will
work but it will essentially be just hacky implementation of
mixins with some extra informational overhead.
Maybe we can come with a better proposal if you explain what
object model are you trying to achieve?
More information about the Digitalmars-d-learn
mailing list