In a signal/slot system you connect a slot to a signal. The slot can be anything, a lambda object, that may go out of scope, an instance pointer/member function pointer pair, a function pointer. The latter slots cannot be invalidated.
My question is how to deal with slots that may get invalidated, such as instance pointer/member pointer pairs and lambda objects. One could copy lambda objects, but they may still have captured something that got invalidated (such as an instance pointer).