|
From: <mar...@he...> - 2026-06-08 14:08:59
|
To me it seems unwise to remove the integer types. Both signed and unsigned are usefull. The unsigned type is especially usefull for encoders, since it will properly overflow/underflow. For the signed type overflow/underflow is implementation defined. Since C++20 the conversion from unsigned to signed is also well defined, and is supposed to do what everybody already expected. Titus Newswanger <nw...@ma...> wrote: On 6/8/26 3:39 AM, Luca Toniolo wrote: > Trim to three, bool, real, int, where int absorbs s32/u32/s64/u64 and > carries bit patterns, I don't understand well enough how replacing s32/u32/s64/u64 with int would work, to outright agree or disagree with that. We'd basically have one int type s64 called int ? Now I can see doing that... |