Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-04-23 10:16:20


Jesper Bojesen wrote:

> The thinking here is that if the slot goes away without disconnecting
> that is a programming error. -- When the signal makes a copy of the
> slot, it only masks the error, it doesn't fix it.

This would mean that any use of signals with bind is a programming error.

sig.connect( bind(...) ); // object returned by bind dies here


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net