Deutsch English Français Italiano |
<v6cqcq$1gpb$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: James Kuyper <jameskuyper@alumni.caltech.edu> Newsgroups: comp.lang.c Subject: =?UTF-8?Q?Re=3A_technology_discussion_=E2=86=92_does_the_world_need?= =?UTF-8?B?IGEgIm5ldyIgQyA/?= Date: Sat, 6 Jul 2024 21:18:18 -0400 Organization: A noiseless patient Spider Lines: 22 Message-ID: <v6cqcq$1gpb$1@dont-email.me> References: <v66eci$2qeee$1@dont-email.me> <v67gt1$2vq6a$2@dont-email.me> <v687h2$36i6p$1@dont-email.me> <871q48w98e.fsf@nosuchdomain.example.com> <v68dsm$37sg2$1@dont-email.me> <87wmlzvfqp.fsf@nosuchdomain.example.com> <v6ard1$3ngh6$4@dont-email.me> <v6c2d7$3tko2$2@dont-email.me> <87cynquokr.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Sun, 07 Jul 2024 03:18:18 +0200 (CEST) Injection-Info: dont-email.me; posting-host="8e847e201f1ac6ac487c614b591508d8"; logging-data="49963"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lTHnsnfkpiqxPS3wU39burxTN9K3rqt0=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:kwiAJgbO7NkmPRC+uGaVZev8lVs= Content-Language: en-US In-Reply-To: <87cynquokr.fsf@nosuchdomain.example.com> Bytes: 2103 On 7/6/24 18:45, Keith Thompson wrote: > James Kuyper <jameskuyper@alumni.caltech.edu> writes: > [...] >> The key point is that an expression of array type does not always get >> converted into a pointer to the first element of that array. The clause >> above starts out with four exceptions, and an array behaves quite >> differently from a pointer when any of those exceptions apply. > > There are three exceptions, not four. > > The N1570 draft of C11 incorrectly says: I was quoting from n3096.pdf, dated April 1, 2023. It says: "Except when it" 1. "is the operand of the sizeof operator," 2. "or typeof operators," 3. "or the unary & operator," 4. "or is a string literal used to initialize an array, ..." What am I miscounting?