經安全檢測,此網站為安全網站,請放心前往原始網址!

6.9 — Dynamic memory allocation with new and delete « Learn C++

New C++ programmers should be notified that there is a fundamental design flaw in C++ (and perhaps any language, allowing explicitly freeing memory) – there is no way to set to null all pointers referencing same memory address, other than knowing/remember

www.learncpp.com

網址安全性掃描由 google 提供