but also doesn't cpp2 add more information and 'viral annotations' to cpp2? cpp2 has ininoutout for references, and copymove and forward which basically shows that cpp doesn't have enough information in the language to achieve even the safety that cpp2 is trying to achieve in it's limited set of improvements.
IMO cpp2 is tackling slightly higher-hanging fruit with those keywords. Personally I love the out keyword in C# and I hope C++ gets it, and the others.
These annotation are local to the function (thus not viral) and except for `out` correspond directly to the normal cpp function parameter declarations.
View all comments
Show parent comment
4
u/RoyAwesome Oct 25 '24
but also doesn't cpp2 add more information and 'viral annotations' to cpp2? cpp2 has
ininoutoutfor references, andcopymoveandforwardwhich basically shows that cpp doesn't have enough information in the language to achieve even the safety that cpp2 is trying to achieve in it's limited set of improvements.