Boost logo

Boost Users :

From: Nat Goodspeed (nat_at_[hidden])
Date: 2007-10-02 15:55:32


Jeff Flinn wrote:
> Nat Goodspeed wrote:
>> I believe this is essentially a double-dispatch problem, though you're
>> using enum values rather than distinct subclass types. Scott Meyers
>> talks about double dispatch (in More Effective C++? I don't have it with
>> me). At that point he was advocating a map of target functions, keyed by
>> type pairs.
>
> I think that was "Modern C++ Design" by Alexandrescu.

He talks about it too. :-)


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net