Exforsys

Online Training

[ANN] doublecpp -- double dispatch in C++

This is a discussion on [ANN] doublecpp -- double dispatch in C++ within the Software Patterns forums, part of the Testing category; I found double dispatch quite useful in implementing many design patterns (visitor, observer, strategy,...) so I'm posting this announce ...


Go Back   Exforsys > Testing > Software Patterns

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-24-2003, 09:12 PM
Lorenzo Bettini
Guest
 
Posts: n/a
[ANN] doublecpp -- double dispatch in C++

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/softwar...cpp/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/softwar...cpp-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/softwar...p/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 |
+-----------------------------------------------------+

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:38 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.