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.

21 Upvotes

29 comments sorted by

View all comments

Show parent comment

9

u/c0r3ntin Oct 25 '26

C++ is great and doesn't need language changes, but profiles need to be a standard feature (because a subset of WG21 really wants to be the people with the answers)- so reinventing existing tools with the same limitations it is.