8 Aug
2009
8 Aug
'09
1:02 a.m.
On Friday 07 August 2009, mos wrote:
int the function test_a , I perfer call test_b next signal that mean output is "a b" but test_b is called immediately and the output is "a b b"
how can I solve the problem?
You could use Boost.Signals2. It has slightly different behavior than the original Boost.Signals when a slot is connected during invocation. The newly connected slot is not seen until subsequent invocations, which seems to be the behavior you want.