Deutsch English Français Italiano |
<vsinf4$17d6t$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.misty.com!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com> Newsgroups: comp.lang.c Subject: Re: "A diagram of C23 basic types" Date: Wed, 2 Apr 2025 09:02:58 +0200 Organization: A noiseless patient Spider Lines: 26 Message-ID: <vsinf4$17d6t$1@dont-email.me> References: <87y0wjaysg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Wed, 02 Apr 2025 09:03:00 +0200 (CEST) Injection-Info: dont-email.me; posting-host="428434e877c8f77ed7842ae2091b0ffd"; logging-data="1291485"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tce7WkM3L6QZ97qEJneQV" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:PG09G/5DAoWG2NaIuy6JIOPq2S0= X-Enigmail-Draft-Status: N1110 In-Reply-To: <87y0wjaysg.fsf@gmail.com> Bytes: 2161 On 02.04.2025 07:59, Alexis wrote: > > Thought people here might be interested in this image on Jens Gustedt's > blog, which translates section 6.2.5, "Types", of the C23 standard > into a graph of inclusions: > > https://gustedt.wordpress.com/2025/03/29/a-diagram-of-c23-basic-types/ A nice overview. - I have questions on some of these types... The _Decimal* types - are these just types with other implicit encodings, say, BCD encoded, or some such? The nullptr_t seems to be a special beast concerning the "NULL" entity; what purpose does that type serve, where is it used? I see the 'bool' but recently seen mentioned some '_Bool' type. The latter was probably chosen in that special syntax to avoid conflicts during "C" language evolution? How do regular "C" programmers handle that multitude of boolean types; ranging from use of 'int', over own "bool" types, then '_Bool', and now 'bool'? Since it's a very basic type it looks like you need hard transitions in evolution of your "C" code? Janis