A signed 1-bit type?

Walter Bright newshound2 at digitalmars.com
Thu Sep 21 06:17:16 UTC 2023


On 9/19/2023 5:37 AM, Quirin Schroll wrote:
> I cannot answer you why you’d want a signed 1-bit type, though.

Basic doing that is an aberration.

> D’s booleans, however, are unsigned integer types.

Yup. Changing that would break an unknown amount of code.


More information about the Digitalmars-d mailing list