|
-
September 18th, 2001, 06:34 AM
#1
Class instance
How to determine the number of instances of a class at any given point of time?
-
September 18th, 2001, 06:43 AM
#2
Re: Class instance
Add a static member variable which you increment in the constructor and decrement in the desctructor
-
September 18th, 2001, 06:53 AM
#3
Re: Class instance
Hi
Take the concept of COM reference counting implementation and maintain a counter.
Regards
S.K.Pradhan
Be sure to rate answers if it helped, to encourage them.
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
|