7
c++ 中new和定位new的返回值都是void *为什么可以被赋值给不同的指针?
source link: https://www.zhihu.com/question/453030451/answer/1819725951
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
c++ 中new和定位new的返回值都是void *为什么可以被赋值给不同的指针?
7
544
登录一下,更多精彩内容等你发现
贡献精彩回答,参与评论互动
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK