Blog
-
C++ Reference Collapsing | Rules for T& and T&&
Reference collapsing: how T&, T&& combinations collapse to a single reference, enabling forwarding references, std::forward, and template deduction.
-
C++ std::regex | Regular expressions in C++11
Complete guide to C++11 regex: regex_match vs regex_search, regex_replace, capture groups, sregex_iterator, raw strings, performance, ECMAScript syntax,...
-
C++ Regular Expressions — Complete std::regex Guide
C++ std::regex: regex_match vs regex_search, capture groups, replace, iterators, raw strings, performance, greedy matching, and ECMAScript syntax.
-
C++ sregex_iterator | Regex iterators for all matches
Use sregex_iterator and sregex_token_iterator to enumerate matches, split tokens, avoid dangling iterators, and handle empty matches and UTF-8 limits.
-
C++ return Statement — Complete Guide
C++ return: basics, return types, references, pointers, RVO/NRVO, multiple return values (pair, tuple, optional), and common pitfalls with examples.
-
C++ Rvalue vs Lvalue: A Practical Complete Guide to Value
Learn C++ lvalues and rvalues: value categories, references, move semantics, and std::move—with examples for overload resolution and fewer unnecessary.
-
C++ RVO and NRVO | Return Value Optimization Complete Guide
RVO vs NRVO: when the compiler elides copies on return, C++17 guaranteed elision for prvalues, NRVO heuristics, and interaction with move semantics.
-
C++ Sanitizers: ASan, TSan, UBSan, and MSan Explained
Clang/GCC sanitizers for C++: AddressSanitizer, ThreadSanitizer, UBSan, and CI examples.
-
C++ scoped_lock — Scoped locking, std::lock, and deadlock
std::scoped_lock (C++17) is an RAII lock that locks multiple mutexes at once via std::lock.
-
What Is C++? History, Standards , Use Cases, and How to
C++ overview for beginners: evolution from C, C++11/17/20/23, game/systems/finance use cases, pros and cons, myths, learning roadmap, and production.