Sujet : Re: Hex string literals (was Re: C23 thoughts and opinions)
De : david.brown (at) *nospam* hesbynett.no (David Brown)
Groupes : comp.lang.cDate : 19. Jun 2024, 10:49:24
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v4u62k$1sp1s$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
On 19/06/2024 09:25, Lawrence D'Oliveiro wrote:
On Tue, 18 Jun 2024 15:54:15 +0200, David Brown wrote:
... C++ could not use underscores
due to their use in user-defined literals, and C followed C++.
C can still offer the option for them, though.
Sometimes it makes sense for C to do the same thing in a different way from C++ - but it is rare, and needs very strong justification.