How can I tell what adress is this specific instance of the class?
class foo
{
public:
long bar();
};
long foo::bar()
{
return SOME_MAGIC_OPERATOR;
}
foo my_foo;
and my_foo.bar() would return &my_foo. Is this possible?
Cheers,
Adrian.
I don´t know how to get the adress of the class inside itsel
RE:I don´t know how to get the adress of the class inside it
Well, let's see...
It's going to be one of myself, Me, self, or this. Probably the latter.
Enjoy.
It's going to be one of myself, Me, self, or this. Probably the latter.
Enjoy.
RE:I don´t know how to get the adress of the class inside it
it is ´this´! I misunderstood a tutorial and I thought ´this´ points at the method which accesses it.
Thanx,
Adrian
Thanx,
Adrian