If another pointer (p) points at a class that was allocated to another pointer (head), will the former (p) invoke a destructor?

后端 未结 0 1932
滥情空心
滥情空心 2020-11-28 19:34

If another pointer (p) points at a class that was allocated to another pointer (head), will the former (p) invoke a destructor? And if it\'s so, then should I equate (p) to

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