Subject: Re: [boost] [Signal] Variadic template implementation of signal/slot
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2009-05-28 16:59:18
Frank Mori Hess wrote:
> However, the
> variadic Boost.Signals2 implementation still uses Boost.Function for its
> default SlotFunction and uses Boost.Bind, neither of which provide
> templates implementations.
There should be a working variadic Function implementation in the C++0x
> I haven't updated the documentation yet, but the user-visible changes when
> using the variadic template implementation are as follows:
> 1) The "portable syntax" classes like signal0, signal1, etc are gone.
> 2) The member typedefs like "arg1_type", "arg2_type", etc are gone.
> They are
> replaced with a "arg" member template class, so instead
> of "sig_type::arg1_type" you would do "sig_type::arg<0>::type". For
> consistency the "arg" member template has also been added to the
The same limitations apply to the Function implementation on the branch.
It might even have something like the arg member template; can't remember.