You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 years ago
12345678910111213141516
  1. #ifndef DEFER_H
  2. #define DEFER_H
  3. #include <functional>
  4. using namespace std;
  5. class Defer
  6. {
  7. public:
  8. Defer(function<void ()> deleter);
  9. ~Defer();
  10. private:
  11. function<void ()> mDeleter;
  12. };
  13. #endif // DEFER_H

mac下的“飞秋”大多数只是飞鸽传书协议,而且未发现令人满意的开源项目,所以基于c++与qt实现了基础的飞秋协议。

Contributors (1)