bug#72695: CC Mode 5.35.2 (C++//l); c++-mode misindents 'if constexpr' inside lambdas
Arsen Arsenović via CC-Mode-help <[email protected]> Sat, 31 Aug 2024 02:54:01 +0200
| Newsgroups | gmane.emacs.cc-mode.general |
|---|---|
| Message-ID | <[email protected]> |
--===============5068631696538661370== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Alan, Alan Mackenzie <[email protected]> writes: > Hello, Arsen. > > A short progress report. > > On Wed, Aug 21, 2024 at 22:40:02 +0200, Arsen Arsenovi=C4=87 wrote: >> Hello Alan, > >> Alan Mackenzie <[email protected]> writes: >> > Thanks for the bug report! > >> My pleasure. Thanks for being as fast as always. > > I apologise for not having been as fast over the last few days. Partly, > I'm bringing up a new computer, which never goes as fast as one would > like. No worries, of course! Hope the setup went well. > But mainly I'm struggling with the unfathomable complexity of C++ lambda > functions, as documented on > https://en.cppreference.com/w/cpp/language/lambda. It should be quite simple - just a few optional productions preceded by an introducer production (see https://eel.is/c++draft/expr.prim.lambda for a formal grammar - this is the text from the standard draft). > In my not so humble opinion, the C++ standards people have completely > lost the plot. Should help be necessary, I do work on G++ so I'm quite familiar with the language. Feel free to ping me. > The number of special cases in just the syntax, apparently just to > save a few characters from a program's text, has got beyond the point > where anybody can grasp it. Nobody in this group of people appears to > be able to say "STOP!", though somebody sorely needs to. I dread to > think what will be coming out in C++26. :-( It really shouldn't be that bad - I'll help demystify if need be. > Anyhow, I've spent all afternoon on the problem so far, and I think I can > see my way to a solution. It will still take a few more days yet, I'm > afraid. Thank you very much! My apologies for the trouble. Have a lovely day. =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIYEARYKAC4WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZtJpqRAcYXJzZW5AYWFy c2VuLm1lAAoJEFLClDAeosSTkqAA/0lWIc81IC2RVGYHISUyhJ+lvys/+ULDriEC DCOx2GZlAQCye6Cgqazz9cF2H4D5RXLH4Xu2ZPkDYDAGeApwSl/dCg== =Z1N4 -----END PGP SIGNATURE----- --=-=-=-- --===============5068631696538661370== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============5068631696538661370==--