Working in Visual Studio 2013, C++, unmanaged code. In a function which receives a pointer to an object, is there a way for the function to detect whether the object is on the stack, as opposed to on the heap? (I’ve searched the forum for stack vs. heap issues, but found nothing about this.)
↧