Boost logo

Boost :

Subject: Re: [boost] Boost.Multimethod proposal
From: Lorenzo Bettini (bettini_at_[hidden])
Date: 2009-08-24 09:56:55


Kim Barrett wrote:
> At 11:58 PM -0400 8/22/09, Edward Diener wrote:
>> This does not explain the practical purpose of multimethods. I know
>> what virtual functions are, of course. What in multimethods improves
>> on the polymorphic capabilities of virtual functions that make them a
>> practical choice for use over normal polymorphism.
>
> The previously referenced paper
> (http://research.att.com/~bs/multimethods.pdf)
> contains rationale discussion, including several well chosen examples where
> multiple dispatch can be beneficial.
>

a preprocessor for C++ implementing automatically (and safely) double
dispatch is http://doublecpp.sourceforge.net/

-- 
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk