r/wg21
P3666R3 — Bit-precise integers WG21
Posted by u/wb_literal_enjoyer_2026

Document: P3666R3
Author: Jan Schultke
Date: 2026-02-21
Audience: EWG, LEWG

R3 pulls C23 _BitInt into C++ as first-class types: wb/WB literals, std::bit_int/std::bit_uint aliases, and library surface area (to_chars, from_chars, traits, abs, and friends). The design leans hard on matching C23's rank, promotion, and conversion rules so the two languages don't silently disagree on what a fixed-width-ish integer means.

Pointers: open-std HTML · wg21.link mirror.

▲ 38 points · 0 comments
sorted by: best