|
Boost : |
Subject: Re: [boost] [Signal] Variadic template implementation of signal/slot
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2009-05-29 10:01:41
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 28 May 2009, Sebastian Redl wrote:
> There should be a working variadic Function implementation in the C++0x
> BoostCon branch.
Thanks, I wasn't aware of the sandbox/boost0x branch.
> The same limitations apply to the Function implementation on the branch.
> It might even have something like the arg member template; can't remember.
It looks like it only provides the argument types for the N=1 and 2 cases,
through std::unary_function or std::binary_function, but not the argument
types in general (similar to std::function). I guess I should add those
typedefs to the variadic Signals2, since I believe they are needed by some of
the standard algorithms. Is providing typedefs for all the arguments in a
generic way useful? I'm really only assuming it is, I don't have a specific
use case in mind.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkof6sYACgkQ5vihyNWuA4XkHACfeSY37XaMVvWxi01BIshq/YBi
LpIAn2mc6odGNLKGBnkq2s1b5tviCgGS
=jizu
-----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