Function Pointers to Non-Static Object M - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
The code I have included is a holder class that takes a pointer to an object and a pointer to a method.   Either can be changed at any time. During the lifetime of the holder class object, a helper method can be called that calls the stored method pointer.  
我在这里提供的是一个容器类,它接收一个指向对象的指针和一个指向一个方法的指针。可以随意改变任何一个参数。在窗口对象的生命期内,可以调用一个helper 方法来调用保存的方法指针。
来源: http://www.codeguru.com/cpp_mfc/methodpointers.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
methodpointers |
 1.0  |
2004-04-09 |
下载 |
|
|