Blog
-
C++ constexpr Functions | Compile-Time Functions Explained
C++ constexpr functions: compile-time and runtime use, C++11 vs C++14 vs C++17, arrays, classes, and optimization. Practical examples and pitfalls.
-
C++ constexpr Function | 'Compile-Time Function' Guide
C++ constexpr function constexpr int square(int x) { return x * x; }. Organizes from concept to usage with practical examples and code.
-
C++ constexpr if | 'Compile-Time Branching' Guide
C++17 constexpr if. Compile-time conditional statements, an alternative to template specialization.
-
C++ constexpr Lambda | 'Compile-Time Lambda' Guide
A guide to C++ constexpr lambdas: writing lambdas that run at compile time, capture rules, and where they help over regular constexpr functions.
-
C++ Container Adapters | stack·queue
C++ container adapters complete guide. Usage and practical application of stack (LIFO), queue (FIFO), priority_queue (heap).
-
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++ Copy Initialization | 'Copy Initialization' Guide
C++ copy initialization. Direct initialization, implicit conversions, and differences.
-
C++ Copy & Move Constructors: Rule of Five, RAII,
Rule of Five in C++: copy/move constructors and assignment, deep copy vs shallow, self-assignment, noexcept moves, copy elision, and FileHandle patterns.
-
Complete Guide to C++20 Coroutines | A New Era of Asynchronous Programming
A complete guide to writing asynchronous code synchronously with C++20 Coroutines.
-
C++ Coroutines | Asynchronous Programming in C++20
C++20 coroutines: coroutine_handle, promise_type, co_await, generators, Task patterns, and compiler support for async-style control flow.