Blog
-
C++ Temporary Objects: Lifetime, const&, RVO, and Pitfalls
C++ temporaries: full-expression rules, lifetime extension with const& and rvalue refs, dangling pointers from c_str(), RVO/NRVO, and performance tips.
-
C++ this Pointer: Chaining, const Methods, Lambdas, and CRTP
The implicit this pointer in non-static member functions: disambiguation, method chaining, self-assignment checks, lambda captures.
-
C++ thread_local | Thread-Local Storage (TLS) Complete Guide
C++11 thread_local: per-thread storage, caches, RNGs, initialization, and patterns without shared mutex overhead.
-
C++ Three-Way Comparison | The Spaceship Operator `<=>`
C++20 `operator<=>`: `default` memberwise comparison, `strong_ordering`, `weak_ordering`, `partial_ordering`, rewriting `==`, and migration from legacy.
-
C++ time_point | 'Time Points' Guide
C++ std::chrono::time_point represents a point in time on a specific clock.
-
C++ timer utilities | sleep_for· sleep_until
std::this_thread::sleep_for vs sleep_until, steady_clock deadlines, polling with short sleeps, yield vs spin, Asio timers, and accuracy limits.
-
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 apply | 'Application of tuples' guide
A guide to C++17 std::apply for unpacking tuples into function arguments, with practical examples for variadic function calls.
-
C++ Tuple Cheat Sheet | std::tuple· tie
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...