Detecting pointer target: static memory or dynamic memory?

后端 未结 0 1586
逝去的感伤
逝去的感伤 2020-12-05 06:47

Is there functionality, in C++, to detect whether the target of a pointer has been allocated from dynamic memory or is living in static memory (including global memory)?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题