Deutsch English Français Italiano |
<v2oi32$1vebu$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: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Thu, 23 May 2024 16:05:05 -0700 Organization: A noiseless patient Spider Lines: 23 Message-ID: <v2oi32$1vebu$1@dont-email.me> References: <v2l828$18v7f$1@dont-email.me> <v2lnr5$1bu1r$1@dont-email.me> <v2ngmp$1p3o2$3@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 24 May 2024 01:05:07 +0200 (CEST) Injection-Info: dont-email.me; posting-host="a99698c67443521d1279cccaa6d71273"; logging-data="2079102"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fe8DLSEKVXQlNcffrMABs9UGBvKJWQwM=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:mQtJkR4I9UNCzw+wswV+kI4aTzs= Content-Language: en-US In-Reply-To: <v2ngmp$1p3o2$3@dont-email.me> Bytes: 2036 On 5/23/2024 6:35 AM, David Brown wrote: > On 22/05/2024 23:24, Chris M. Thomasson wrote: >> On 5/22/2024 9:55 AM, David Brown wrote: >>> In an attempt to bring some topicality to the group, has anyone >>> started using, or considering, C23 ? There's quite a lot of change >>> in it, especially compared to the minor changes in C17. >> >> Love the way std::vectors respect alignas... C++20, iirc? >> >> [...] > > I have no idea what you are talking about. std::vector actually respects alignas, on MSVC at least. I did not know this worked until I tried it. Iirc, Bonita was the one that sparked my test. It aligned itself on the proper boundaries. Very nice. > But did you notice that this is c.l.c, not c.l.c++, and the topic is > C23, not C++23 ? Discussing comparisons or compatibility with C++ is > fair enough, but talking about pure C++ matters (such as std::vector<>) > is unlikely to be helpful. C has it as well... Very useful!