• 2024-11-07C++ 委托实现
    MyDelegate.h#pragmaonce#include<typeinfo.h>#include<list>#include<vector>namespaceDelegate{ //IDelegate提供接口的基类 template<typenameReturnType,typename...ParamType> classIDelegate { public: IDelegate(){}