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
Show parent comment
18
u/pjmlp Oct 25 '26
Based on the experience with lifetimes on clang and VC++, they won't deliver under the same conditions used to push out Safe C++.
Meaning no viral annotations, and no changes to the standard library.
Everything else, you can already have it today when using modern static analysis tooling like PVS Studio, Sonar, clang tidy, VC++ analysers...