Title says it all. If it helps, the languages in question are java and c++.
+2
A:
The visitor pattern is a means of adding a new operation to existing classes. Double dispatch is a means of dispatching function calls with respect to two (or, when generalised, more) polymorphic types, rather than a single polymorphic type, which is what languages like C++ and Java support directly.
anon
2009-12-07 10:37:34
I'll have to study this more carefully - it appears that I'm mistaken. Thanks for the instruction, Neil.
duffymo
2009-12-07 13:18:58