|
Boost : |
From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-08-05 00:06:13
>From the Breaking-backward-compatibility-and-proud-of-it Department:
The syntax for the boost::signal class has been changed to use the new
function type syntax recently added to boost::function. So anything that
looked like this:
boost::signal<R, T1, T2, ..., TN>
needs to look like this:
boost::signal<R (T1, T2, ..., TN)>
Additionally, the other template parameters for the signalN classes are also
available with boost::signal, e.g.,
boost::signal<R (T1, T2, ..., TN), MyCombiner>
The older syntax is _NOT_ supported in Signals like it is in Function. Signals
hasn't ever been part of a Boost release, so I think it's better to make a
clean break now. Of course, the numbered signalN classes are still available
for those that can't use the new syntax on their compiler.
Reference documentation has been updated, but the tutorial hasn't (yet).
Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk