static void on_destruction_cb(const std::function<void(Host const&)>& cb) { on_destruction.connect(cb); }
/** Add a callback fired just before destructing this specific host */
void on_this_destruction_cb(const std::function<void(Host const&)>& cb)
{
on_this_destruction.connect(cb);
}
static void on_destruction_cb(const std::function<void(Host const&)>& cb) { on_destruction.connect(cb); }
/** Add a callback fired just before destructing this specific host */
void on_this_destruction_cb(const std::function<void(Host const&)>& cb)
{
on_this_destruction.connect(cb);
}