r/cpp
•
u/steveklabnik1
•
Oct 24 '24
•
1
Why Safety Profiles Failed
https://www.circle-lang.org/draft-profiles.html
180
Upvotes
View all comments
Show parent comment
13
u/runevault Oct 25 '24
One specific thing I wish C++ had in particular from rust is moves not leaving behind a valid variable, so that if I move something and then try to use the old variable it errors at compile time. Having that alone would give me a lot of peace of mind, even if it had to be a new syntax to be a destructive move.