|
Boost : |
From: Douglas Gregor (gregod_at_[hidden])
Date: 2001-12-05 14:06:18
On Monday 03 December 2001 04:42 pm, you wrote:
> Dear Douglas
>
> I have tried to compile the new version of signals
> (signals20011125.zip) with the boost release 1_26_0.
> I once again get a compile error.
[snip]
> sig.connect(test_sig);
The Signals library uses Boost.Function internally, and it picks up
Function's limitation with respect to free functions. If you change the above
to:
sig.connect(&test_sig);
it will compile properly. Make sure you have service pack 5, though, because
otherwise you will get an obnoxious internal compiler error.
[Sorry for the long delay for such a short answer - I thought the problem was
more significant and had put it on the back burner until I had time]
Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk