bsl::stop_callback::~stop_callback

Destroy this object. If *this refers to a stop state and the stored callback is registered with the stop state but has not yet begun execution, deregister the callback from that stop state. Otherwise, if the callback is executing on a thread other than the thread invoking the destructor, the completion of the callback strongly happens before the destructor returns.

Synopsis

Declared in <bslstl_stoptoken.h>

~stop_callback();