Blog
-
C++ constexpr if | 'Compile-Time Branching' Guide
C++17 if constexpr is a conditional statement evaluated only at compile-time within templates.
-
C++ Move Semantics: Copy vs Move Explained
C++11 move semantics: rvalue references, std::move, Rule of Five, noexcept move constructors—copy vs move performance and safe usage patterns.
-
C++ Algorithm Reverse: std::reverse, reverse_copy &
Reverse ranges in place or into a copy with std::reverse and reverse_copy; rotate segments with std::rotate — palindromes, string reversal, and array.
-
C++ Bit Manipulation | Complete 'Bitmask' Guide
Bit operations (AND, OR, XOR, shift) are low-level techniques used for flags, bitmasks, and algorithm optimization.
-
C++ Chrono Detailed Complete Guide | 'Time Library' Guide
std::chrono is a C++11 library that handles time intervals and points in a type-safe manner using duration, time_point, and clock.
-
C++ CTAD | Class Template Argument Deduction (C++17)
Learn C++17 CTAD: omit template arguments for pair, vector, and custom types.
-
C++ Copy Elision | When Copies and Moves Disappear
Copy elision: RVO, NRVO, C++17 guaranteed elision for prvalues, parameter initialization, and why returning local variables with std::move often hurts.
-
C++ Exception Performance: Zero-Cost, noexcept, and Error
C++ exception model: zero-cost on success path, cost of throw and unwind, noexcept and vector moves, frequent errors vs exceptions, and -fno-exceptions.
-
C++ jthread | 'Auto-Join Threads' Guide
C++ jthread — automatic join threads and stop_token. Describes the basics of jthread with practical examples.
-
C++ Linking Explained: Static vs Dynamic Libraries, Symbols,
How the linker combines object files into executables and libraries.