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