|
-
January 19th, 2010, 06:34 PM
#10
Re: How to create a pointer to 'this'?
 Originally Posted by nuzzle
this is a pointer and a pointer has no address unless it's stored somewhere.
You need to store the this pointer somewhere and then take the address of that storage location. That would be a pointer to a pointer.
Why? From within the context of a class, "this" is implied.
Tags for this Thread
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
|