C++ Logo

std-proposals

Advanced search

[std-proposals] Type modifier to disable integer promotion

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Sat, 29 Mar 2025 18:58:09 +0000
It's horrible when you use a "std::uint16_t" only to find that it
promotes to a signed 32-Bit integer. Believe it or not, I recently
wrote the following code:

Received on 2025-03-29 18:58:16