C/C++
cppdd.txt
Associated article: Double Dispatch Revisited
Tags:
Published source code accompanying the article by Nat Goodspeed examines the topic of double dispatch. Also see JDD.ZIP and CPPDD.ZIP.
Double Dispatch Revisited
by Nat Goodspeed
Listing One
class EntryBase
{
public:
virtual bool matches(const GameObject& param1,
const GameObject& param2) const = 0;
};
Listing Two
class Entry: public EntryBase
{
public:
virtual bool matches(const GameObject& param1,
const GameObject& ...


