Inside UVW’s Event Emitter: Design Decisions and C++11 Tricks
The header uvw/emitter.hpp is the beating heart of the UVW library: every resource inherits from the Emitter template to gain an event-driven interface. This article walks through the interesting language features and design choices that make the class tick.
Type-safe event IDs without an enum
Lines 161–185 contain a small but powerful metap ...
Posted on Wed, 13 May 2026 05:15:32 +0000 by BinaryBird
Understanding C++ decltype and decltype(auto) Type Deduction
Core Mechanisms and Syntax Differences
C++11 introduced decltype as a compile-time type inquiry operator. While it shares conceptual ground with auto, their syntactic evaluation and deduction strategies diverge significantly. The auto keyword deduces a variable's type from an initializer expression, whereas decltype inspects an arbitrary expres ...
Posted on Sun, 10 May 2026 13:57:14 +0000 by pnj
Mastering Multithreading in C++11 and Beyond
C++11 introduced standardized support for multithreading, marking a significant shift in how concurrent programming is approached. Prior to this, develoeprs relied on platform-specific APIs, leading to non-portable code. The standard library now provides a consistent interface across different operating systems.
Each application begins with one ...
Posted on Fri, 08 May 2026 08:00:12 +0000 by barrow