Tag

CPO

0 views collected around this technical thread.

Tencent Cloud Developer
Tencent Cloud Developer
Jul 7, 2022 · Backend Development

libunifex Structured Concurrency Implementation Analysis

The article thoroughly examines libunifex’s structured concurrency implementation, detailing its DSL‑based execution framework and the three core components—Sender Factory, Sender Adapter, and Receiver—through examples like just(), then(), and sync_wait(), and explains how these pieces combine to build asynchronous pipelines.

Async ExecutionAsynchronous ProgrammingC
0 likes · 14 min read
libunifex Structured Concurrency Implementation Analysis
Tencent Cloud Developer
Tencent Cloud Developer
Jun 22, 2022 · Fundamentals

Understanding C++ Customization Points: CPO, tag_invoke, and Ranges

This article explains how modern C++ libraries achieve extensible interfaces using Customization Point Objects and the tag_invoke mechanism, compares classic techniques, details the implementation of ranges::begin, and shows how tag_invoke provides a scalable, concept‑friendly alternative for generic library design.

C++CPOCustomization Point Object
0 likes · 17 min read
Understanding C++ Customization Points: CPO, tag_invoke, and Ranges