Closed strager closed 9 years ago
After some thinking, I think I have a (non?-)solution.
B_QuestionVTable::answer
to be polymorphic on the B_QuestionVTable
instance.B_QuestionVTable
(or specific instances of B_QuestionVTable
such as B_FileQuestion
's vtable).In sort, KISS, don't overcomplicate things. We can rewrite later; let's make progress now.
Ah! I cannot subclass! This will not work.
You can't subclass a B_QuestionVTable
instance because callers of b_answer_context_need
will not be able to get a handle to that B_QuestionVTable
instance subclass.
KISS. Things built on top of b which show actual pain points.
Snippets from my conversation with @evincarofautumn: