r/cpp • • Oct 25 '26

C++ profiles for initialization and invalidation: WIP implementation prototypes already exist in GCC/Clang

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2026/p4415r0.pdf

In this paper it can be seen some interesting profiles progress for prototypes in Gcc and Clang.

20 Upvotes

29 comments sorted by

View all comments

Show parent comment

4

u/Jealous_Security_362 Oct 25 '26

460 is a fair number to push back with, and I'm not going to defend it. What I'd want to know is how many distinct causes sit behind it. If most of them come from two or three patterns, lambdas, conditionals, loops that reassign, that's an implementation problem someone can fix. If they're spread evenly across the language, the profile isn't ready and no wording change saves it. Did that list break them down by category?

9

u/13steinj Oct 25 '26

Ask /u/seanbaxter ; I don't personally have the energy to entertain spending mt free time investigating one of many implementations / features I do not personally care for (not trying to be dismissive... just I'm not incentivized to fight this fight).