|
-
June 30th, 1999, 08:22 PM
#1
How to make a callback function without template?
I need a class like
class EventHandler {
public:
EventHandler(){}
void setHandler(...); //accept a pointer to member function like
// &ClassA: nClick
int invoke(); //excute the member function
}
How to make such a class without template?(because a need a container to keep all the EventHandlers.) Please help me...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|