By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,254 Members | 2,386 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,254 IT Pros & Developers. It's quick & easy.

Obtaining Handle to Object from Member Function

P: n/a
How do I get a handle to an object from one of its member functions? I
cannot find anything in the docs that shows a handle version of the
"this" pointer - but there has to be one - right?

Thanks,
-Chris

Mar 24 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Chris Edgington wrote:
How do I get a handle to an object from one of its member functions? I
cannot find anything in the docs that shows a handle version of the
"this" pointer - but there has to be one - right?


'this' is still around. Given a type T, 'this' is now defined as 'T^
const' and you can use it with the -> operator.

hth,

julian
Mar 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.