Boost logo

Boost :

From: Bruno Martínez (br1_at_[hidden])
Date: 2006-07-13 13:22:51


Hi.

There's a bug in the tutorial. It says

sig.connect(&print_sum);
sig.connect(&print_product);
sig.connect(&print_difference);
sig.connect(&print_quotient);

prints

The sum is 8
The difference is 2
The product is 15
The quotient is 1.66667

when in fact it prints

The sum is 8
The product is 15
The difference is 2
The quotient is 1.66667

because slots are called in FIFO order.

Regards,
Bruno


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk