Blog
-
C++ timer utilities | sleep_for, sleep_until, and chrono literals
std::this_thread::sleep_for vs sleep_until, steady_clock deadlines, polling with short sleeps, yield vs spin, Asio timers, and accuracy limits of thread...
-
C++ tuple apply | 'Application of tuples' guide
Everything about C++ tuple apply : from basic concepts to practical applications. Master key content quickly with examples.'Tuple application' guide. Wh...
-
C++ tuple detailed Complete Guide | 'Tuple' guide
C++ tuple: basic usage, structured binding (C++17), principles, code, and practical applications. 실전 예제와 코드로 개념부터 활용까지 정리합니다. C++·tuple·pair 중심으로 설명합니다.
-
C++ Tuple Cheat Sheet | std::tuple, tie, and Structured Bindings
std::tuple basics: make_tuple, get, tie, tuple_cat, structured bindings (C++17), and common pitfalls for multi-value returns.
-
C++ Type Conversion | Implicit, Explicit, and User-Defined
How C++ converts types: implicit promotions, static_cast, conversion constructors and operators, explicit, and the one user-defined conversion limit—wit...
-
C++ Type Erasure Complete Guide | Unified Interfaces Without Inheritance
Master C++ Type Erasure: hide concrete types behind stable interfaces for static polymorphism. Complete guide to std::function, std::any, manual vtable ...
-
C++ Type Traits | `<type_traits>` Complete Guide
C++ type traits: `is_integral`, `remove_reference`, SFINAE with `enable_if`, `void_t`, and compile-time branches with `if constexpr`.
-
C++ Uniform Initialization | Braces `{}` Explained
Uniform initialization (C++11) uses `{}` for every type: scalars, arrays, structs, classes, and containers. Narrowing checks, the Most Vexing Parse, and...
-
C++ Universal (Forwarding) References Explained
Forwarding references: when T&& or auto&& deduces to bind both lvalues and rvalues, how they differ from rvalue references, and using std::forward corre...
-
C++ Use-After-Free (UAF): Causes, ASan, and Ownership Rules
Understand use-after-free in C++: dangling pointers, container invalidation, ASan and Valgrind, smart pointers, weak_ptr, and a gdb + ASan debugging wor...