Blog
-
C++ One Definition Rule : Multiple Definitions, inline,
The ODR requires a single definition across the program for variables and functions, with exceptions for inline, templates, and C++17 inline variables.
-
C++ std::optional Complete Guide | nullopt· Monadic Ops
std::optional vs nullptr and exceptions: value_or, and_then, transform, or_else, performance, and production error-handling patterns (C++17–C++23).
-
C++ override & final: Virtual Overrides, Devirtualization,
C++ override and final: catching signature mistakes, sealing classes and virtual functions, devirtualization and performance notes, and practical.
-
C++ packaged_task | 'Package Task' Guide
std::packaged_task is a C++11 feature that wraps a function or callable object and allows you to receive the result as a std::future.
-
C++ Parallel Algorithms | Parallel Algorithm Complete Guide
C++ Parallel Algorithms: execution policy, parallel arrangement, principles, code, and practical applications.
-
C++ std::filesystem::path | Cross-platform paths in C++17
Use std::filesystem::path to join, normalize, and inspect paths portably.
-
C++ Perfect Forwarding Complete Guide
Master C++ perfect forwarding: preserve lvalue/rvalue categories with universal references (T&&) and std::forward.
-
C++ Performance Optimization: Copies, Allocations, Cache,
Speed up C++ code: pass by const reference, move semantics, vector reserve, object pools, cache-friendly layouts, compiler flags (-O2, LTO), and profiling.
-
C++ Pimpl Idiom Complete Guide
Master C++ Pimpl idiom for hiding implementation details: faster builds, stable ABI, unique_ptr usage, rule of five, platform-specific implementations, ...
-
C++ Pointers Explained: Understand “Hard” Pointers in 5
C++ pointers explained with a street-address analogy: basics, swap, arrays, pitfalls, references, new/delete, smart pointers, const pointers.