Boost logo

Boost :

From: Thomas Witt (witt_at_[hidden])
Date: 2002-05-13 10:28:36


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 13 May 2002 16:47, Thomas Witt wrote:
> While playing around with signal the following occured to me:
>
> Every signal is a function object and so can be used as slot. It is
> desirable to be able to bind certain arguments of a signal so that it can
> be used as a slot with a different signature. Think of a signal hierarchy
> where each level adds information to the signal.
>
> IIUC bind cannot be used to do this, as it does not strip of ref or cref
> from its first argument.
>
> Did I miss something?

Yes, obviously. I forgot to mention signals cannot be passed by value.

By now I do have a modified bind.hpp that does the neccessary unwrapping, it
seems to work. Needs more testing though.

Thomas

- --
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
http://www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE839uo0ds/gS3XsBoRAp3xAJ92xtkERNcXWgsKg7U4ITJQRI23rACfTHJc
i1w71cFPGVDXbB47vunVPvs=
=ln47
-----END PGP SIGNATURE-----


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