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

-2

u/germandiago Oct 25 '26

How viral you think they will be based on your experience?

7

u/pjmlp Oct 25 '26

A lot, as proven by e.g. SAL annotations on VC++, because they need semantics that aren't available in regular C++.