How a member func can know *programmatically* the 'name of the object' that is calling it?

Posted by AKN on Stack Overflow See other posts from Stack Overflow or by AKN
Published on 2010-05-21T10:27:00Z Indexed on 2010/05/21 10:30 UTC
Read the original article Hit count: 181

Filed under:
|
|

Let say we have a class and a memberfunc. An object is created for this class, say ObjA.

ObjA calls memberfunc.

Can we get this name 'objA' inside memberfunc programatically?

© Stack Overflow or respective owner

Related posts about c++

Related posts about oops