C++ 使用STL和函数指针 实现的委托

时间:2014-03-12 12:22:25
【文件属性】:
文件名称:C++ 使用STL和函数指针 实现的委托
文件大小:17KB
文件格式:RAR
更新时间:2014-03-12 12:22:25
委托 C++ 函数指针 C++模拟实现的类似于C#的委托。 使用STL封装类名称的变化,使用函数指针封装函数名称的变化。 在Visual C++ 6.0下测试通过。 使用的时候只需要关注IFunctor和IDelegate两个接口即可。
【文件预览】:
DelegateTest
----MyClass2.h(1KB)
----DelegateTest.cpp(2KB)
----IFunctor.h(7KB)
----DelegateTest.opt(53KB)
----DelegateTest.dsw(530B)
----MyClass2.cpp(1KB)
----IDelegate.h(6KB)
----StdAfx.cpp(299B)
----DelegateTest.plg(2KB)
----DelegateTest.ncb(73KB)
----StdAfx.h(892B)
----MyClass1.cpp(1KB)
----MyClass1.h(1KB)
----DelegateTest.dsp(5KB)
----ReadMe.txt(1KB)

网友评论