Re:C uses "&" for the address-operator because 'ampersand so...
by sigsev_251 on Tuesday October 10, 2023 @11:51AM
(#37833730)
Integer promotion will probably never be removed from the fundamental types (char, signed char, short, etc.). You can use `_BitInt`(N) types in the future which don't follow the implicit integer promotion rule. There are at least two compilers today that implement it (clang and SDCC).
[ Parent
| on HN ]
Re:C uses "&" for the address-operator because 'ampersand so...
by masklinn on Wednesday October 11, 2023 @01:21AM
(#37841192)
> Integer promotion will probably never be removed from the fundamental types
Oh let me assure you, I have no actual expectation that C would ever change in such a way.
Although it should be noted that both suggestions are entirely syntactic and could be gated behind a per-file (or even per function) stricture a la strict mode.