Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Detect Stack vs. Heap Location?

$
0
0

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.)


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>