Blog
-
C++20 Coroutines Complete Guide | Asynchronous Programming Patterns
C++20 coroutines: co_await, co_yield, promise types, generators, tasks, awaitables, and production patterns with examples.
-
C++ CRTP Pattern Complete Guide | Static Polymorphism & Compile-Time Optimization
Master C++ CRTP (Curiously Recurring Template Pattern) for static polymorphism without virtual function overhead. Complete guide with mixin counters, co...
-
C++ Custom Allocator | 'Custom Allocator' Guide
Development blog post organizing C++ Custom Allocator. template<typename T> class MyAllocator { public: using value_type = T; T allocate(size_t n) { ret...
-
C++ Dangling References: Lifetime, Temporaries, and Containers
Dangling references in C++: returning references to locals, temporaries, container invalidation, lambdas, and fixes—values, smart pointers, ASan.
-
C++ Data Structures | 'Implementing from Scratch' Linked List/Tree/Hash Table
Development blog post organizing C++ data structures. template <typename T> class BST { private: struct Node { T data; Node left; Node right; Node(T val...
-
C++ date parsing and formatting | chrono, std::format, and time zones
Format and parse calendar dates with C++20 chrono, std::format, parse, zoned_time, locale-aware weekday names, and common pitfalls for wire formats vs d...
-
C++ Decorator Pattern: Complete Guide | Dynamic Wrapping & Composition
Decorator pattern in C++: stack behaviors on coffee/stream/logger/formatter examples—vs inheritance, proxy, adapter, and smart-pointer pitfalls for Engl...
-
C++ Design Patterns | 'Singleton/Factory/Observer' Practical Guide
Development blog post organizing C++ design patterns. class Singleton { private: static Singleton instance; Singleton() {}.
-
C++20 Designated Initializers Complete Guide | Clear Struct Initialization
C++20 Designated Initializers complete guide: clear struct initialization. What are Designated Initializers? Why needed and basic syntax as axes, explai...
-
C++ Diamond Problem: Multiple Inheritance & Virtual Bases
C++ diamond inheritance explained: ambiguous common base, virtual inheritance, ctor rules, and alternatives—composition and interface splitting.