Sujet : Re: C23 thoughts and opinions
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 23. May 2024, 03:47:20
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v2mano$1ik9e$4@dont-email.me>
References : 1 2
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On Wed, 22 May 2024 20:10:51 +0100, Malcolm McLean wrote:
And why do you really need a boolean when
an int can hold either a zero or non-zero value?
Knowing that there is a range containing just two possible values allows
you to use the type as an array index.