r/cpp • u/germandiago • 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.pdfIn this paper it can be seen some interesting profiles progress for prototypes in Gcc and Clang.
20
Upvotes
View all comments
0
u/Jealous_Security_362 Oct 25 '26
Getting prototypes into both GCC and Clang is the part that usually kills these proposals, so that's a good sign. Does it catch use after move across function calls, or only inside a single body? The interprocedural case is where false positives will decide whether people adopt it