Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2004-03-10 00:56:27

Since we're discussing the issue, I've added an experimental disconnect()
member function to signals that allows one to disconnect equivalent slots,

void foo();
void bar();

signal<void()> sig;


sig.disconnect(&foo); // disconnects foo, but not bar

We could also reconsider the += and -= syntax, since support for -= now makes
some sense.


Boost list run by bdawes at, gregod at, cpdaniel at, john at