Tag: make_unique
2 posts
-
C++ malloc vs new vs make_unique | Memory Allocation Complete Comparison
C++ malloc vs new vs make_unique: Complete memory allocation comparison. Differences in constructor calling, exception safety, RAII. Principles, code, a...
-
[2026] C++ Smart Pointers | Fixing a Circular Reference Bug That Took Three Days
C++ smart pointers: unique_ptr, shared_ptr, weak_ptr, make_unique, make_shared—fix circular references when memory grows despite no Valgrind leak.