Blog
-
C++ emplace vs push: Performance, Move Semantics,
Master C++ emplace vs push: in-place construction, move semantics, copy elision, performance benchmarks, perfect forwarding, common pitfalls (explicit.
-
C++ std::variant vs union Complete Comparison
Master C++ sum types: std::variant (type-safe, std::visit, exceptions) vs union (unsafe, manual tracking, legacy).
-
C++ std::any vs void* Complete Comparison
Master C++ type erasure: std::any (type-safe, runtime checks, exceptions) vs void* (unsafe, manual casting, legacy).
-
C++ constexpr Functions | Compile-Time Functions Explained
C++ constexpr functions: compile-time and runtime use, C++11 vs C++14 vs C++17, arrays, classes, and optimization. Practical examples and pitfalls.
-
C++ Copy & Move Constructors: Rule of Five, RAII,
Rule of Five in C++: copy/move constructors and assignment, deep copy vs shallow, self-assignment, noexcept moves, copy elision, and FileHandle patterns.
-
C++ Coroutines | Asynchronous Programming in C++20
C++20 coroutines: coroutine_handle, promise_type, co_await, generators, Task patterns, and compiler support for async-style control flow.
-
C++ CRTP Pattern Complete Guide
Master C++ CRTP (Curiously Recurring Template Pattern) for static polymorphism without virtual function overhead.
-
C++ Custom Allocator | 'Custom Allocator' Guide
Development blog post organizing C++ Custom Allocator.
-
C++ Dangling References: Lifetime, Temporaries,
Dangling references in C++: returning references to locals, temporaries, container invalidation, lambdas, and fixes—values, smart pointers, ASan.
-
C++ Data Structures — Complete Guide
Development blog post organizing C++ data structures.