| Deutsch English Français Italiano |
|
<87ldut38zt.fsf@bsb.me.uk> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!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: Ben Bacarisse <ben@bsb.me.uk>
Newsgroups: comp.lang.c
Subject: Re: Results of survey re. a new array size operator
Date: Wed, 29 Jan 2025 16:00:54 +0000
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <87ldut38zt.fsf@bsb.me.uk>
References: <87a5bgsnql.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Wed, 29 Jan 2025 17:00:58 +0100 (CET)
Injection-Info: dont-email.me; posting-host="73067014c7b5502471c90ba5cf48cebb";
logging-data="2580656"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18YtWVjJMDWFZFOMmScLOLC1ftbZrFAvPs="
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:WIGPwqvh6XRApKMmQV7vU39iH4w=
sha1:b8ZCX1mLqFLhcQ+LFsoizeoVjqc=
X-BSB-Auth: 1.a1f213b7568958a8ef83.20250129160054GMT.87ldut38zt.fsf@bsb.me.uk
Bytes: 1726
Alexis <flexibeast@gmail.com> writes:
> JeanHeyd Meneide, a Project Editor for WG14, has just posted the results
> of a survey re. the preferred form of a new array size operator:
>
> -- https://thephd.dev/the-big-array-size-survey-for-c-results
Curious. The top objection to the usual macro solution is given as:
* double-evaluation of e.g. getting the size of the 1-d part of a 2-d
array int meow[3][4]; /* ... */ SIZE_KEYWORD(meow[first_idx()]);
Does the author not know that there is no evaluation of the operands of
sizeof in this example?
His "About" pages says "Project Editor for ISO/IEC JTC1 SC22 WG14 -
Programming Languages, C".
--
Ben.