S
scott.lewis
Hi,
I'm developing in C++ using Visual Studio 7.1.
Is there any way to get the memory address from a referenced parameter?
In other words, can I find the pointer value as if it were passed in as
a pointer?
For example:
void compare (int& ref_value, int* pointer_value)
{
// is there any way to determine if these two are referencing the same
// memory address?
}
Thanks for your help!
-Scott-
I'm developing in C++ using Visual Studio 7.1.
Is there any way to get the memory address from a referenced parameter?
In other words, can I find the pointer value as if it were passed in as
a pointer?
For example:
void compare (int& ref_value, int* pointer_value)
{
// is there any way to determine if these two are referencing the same
// memory address?
}
Thanks for your help!
-Scott-