摘要: #ifndef TEST_OBSERVER_SAFE#define TEST_OBSERVER_SAFE#include #include #include #include #include #include #include namespace TestObserver{ class Observable; class Observer : public boost::enable_shared_from_this { public: Observer() {} virtual ~Observer() {printf("%p is destructed!\n", thi 阅读全文
posted @ 2014-04-05 15:42 forgood 阅读(170) 评论(0) 推荐(0) 编辑