Skip to Content.
Sympa Menu

gang-of-4-patterns - [gang-of-4-patterns] [ANN] doublecpp -- double dispatch in C++

gang-of-4-patterns AT lists.cs.illinois.edu

Subject: Design Patterns discussion

List archive

[gang-of-4-patterns] [ANN] doublecpp -- double dispatch in C++


Chronological Thread 
  • From: Lorenzo Bettini <bettini AT gdn.dsi.unifi.it>
  • To: "'gang-of-4-patterns AT cs.uiuc.edu'" <gang-of-4-patterns AT cs.uiuc.edu>
  • Subject: [gang-of-4-patterns] [ANN] doublecpp -- double dispatch in C++
  • Date: Thu, 25 Sep 2003 19:27:45 +0200
  • List-archive: <http://mail.cs.uiuc.edu/pipermail/gang-of-4-patterns/>
  • List-id: Design Patterns discussion <gang-of-4-patterns.cs.uiuc.edu>

I found double dispatch quite useful in implementing many design patterns (visitor, observer, strategy,...) so I'm posting this announce here too:

Hi

I've just released doublecpp:

Doublecpp is a preprocessor for C++ that handles a new linguistic
construct for defining branches of a multi-method. The "right" branch
of such a method will be selected dynamically at run-time according to
the actual type of the object on which the method is invoked and to the
actual type of the first argument: double dispatch.

http://www.lorenzobettini.it/software/doublecpp/index.html

Doublecpp is free software; you are free to use, share and modify it
under the terms of the GNU General Public License (see COPYING).

Doublecpp is delivered with sources that have to be compiled. It can be
downloaded from the following site:

http://www.lorenzobettini.it/software/doublecpp/doublecpp-0.2.tar.gz

Doublecpp has been developed using GNU gcc 3.2.2

You can build doublecpp also under Windows, using cygwin
(http://www.cygwin.com). If you have problems with that, you can
request the windows binaries directly to me.

IMPORTANT: you have to use a 3.x version of gcc: earlier versions have
problems handling code generated by doublecpp.

You can find the documentation in the file

http://www.lorenzobettini.it/software/doublecpp/doublecpp.ps

I look forward to receiving comments!

regards
Lorenzo

--
+-----------------------------------------------------+
| Lorenzo Bettini ICQ# lbetto, 16080134 |
| PhD in Computer Science |
| Dip. Sistemi e Informatica, Univ. di Firenze |
| Tel +39 055 4796741, Fax +39 055 4796730 |
| Florence - Italy (GNU/Linux User # 158233) |
| Home Page : http://www.lorenzobettini.it |
| http://music.dsi.unifi.it XKlaim language |
| http://www.lorenzobettini.it/purple Cover Band |
| http://www.gnu.org/software/src-highlite |
| http://www.gnu.org/software/gengetopt |
| http://www.lorenzobettini.it/software/gengen |
+-----------------------------------------------------+





  • [gang-of-4-patterns] [ANN] doublecpp -- double dispatch in C++, Lorenzo Bettini, 09/25/2003

Archive powered by MHonArc 2.6.16.

Top of Page