Tag: delete
3 posts
-
[2026] C++ =default and =delete: Special Members, ODR, and Rule of Zero
C++11 =default and =delete: controlling special members, non-copyable types, deleted conversions, heap-only types, Rule of Five vs Rule of Zero, and noe...
-
[2026] C++ Memory Management: new/delete, Stack vs Heap, and RAII
Deep dive into C++ memory: stack vs heap, dynamic allocation with new/delete, RAII, smart pointers, and common pitfalls—new, delete[], placement new, an...
-
[2026] C++ Memory Leaks | Real Server Outage Cases and Five Patterns Valgrind Catches
C++ memory leaks: new/delete pitfalls, smart pointers, Valgrind and AddressSanitizer. Early returns, double free, delete[] mistakes—fix leaks before the...