Blog
-
C++ duration | 'Time Interval' Guide
time, 1. duration basics.
-
C++ EBCO and [[no_unique_address]]
EBCO and C++20 [[no_unique_address]] solving the problem of empty classes occupying memory.
-
C++ Segmentation Fault: Five Causes and Debugging with GDB,
Fix segfaults: null dereference, dangling pointers, stack overflow, buffer overrun, bad casts.
-
C++ explicit Keyword | 'explicit Keyword' Guide
explicit is a keyword attached to constructors and conversion operators to prevent implicit conversion.
-
C++ Expression Templates — Complete Guide
Deep dive into expression templates: VecExpr trees, vector/matrix ops, aliasing and dangling references, SIMD/parallel assignment ideas, and benchmarks.
-
C++ Facade Pattern Complete Guide
C++ Facade pattern: wrap a complex subsystem behind one simple interface.
-
C++ Factory Pattern: Complete Guide
C++ Factory pattern explained: encapsulate creation, Simple Factory vs Factory Method vs Abstract Factory, auto-registration, plugins, and production.
-
C++ Flyweight Pattern Complete Guide
A complete guide to the C++ Flyweight design pattern, covering shared intrinsic state and memory savings with practical examples.
-
C++ Fold Expressions | Folding Parameter Packs in C++17
C++17 fold expressions explained: unary/binary folds, left vs right, empty packs, supported operators, and patterns for sum, print, all_of, and containers.
-
C++ Forward Declaration: Reduce Includes, Break Cycles,
Forward-declare classes and functions when pointers/references suffice.