I don´t know how to get the adress of the class inside itsel
Posted: Sun Aug 24, 2003 11:00 pm
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.
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.