Class expired_slot

boost::expired_slot — Indicates at least one of a slot's tracked objects has expired.

Synopsis

class expired_slot : public bad_weak_ptr {
public:
  virtual const char *  what() const;
};

Description

The expired_slot exception is thrown to indicate at least one of a slot's tracked objects has expired. A signal will automatically disconnect any slot which throws this exception during signal invocation. Combiners that wish to support disconnection via expired_slot exceptions should be prepared to handle expired_slot exceptions thrown by the slot iterator dereference operation.
virtual const char *  what() const;