Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

cancellation_signal::slot - Boost C++ 函数库
PrevUpHomeNext

返回与信号关联的单个槽。

cancellation_slot slot();

只要槽可能被使用,信号对象必须保持有效。 销毁信号会使槽失效。


PrevUpHomeNext