$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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. :-)