|
|
|
|
|
by deckar01
2663 days ago
|
|
I don't understand why the class instance needs to accept the interaction. Why not just invoke the interaction directly? interactor_p->interact(thingy_p)
Would this still be considered the visitor pattern or is the extra layer of indirection important? |
|