r/cpp • • Oct 24 '24 • Take My Silver 1

Why Safety Profiles Failed

https://www.circle-lang.org/draft-profiles.html
180 Upvotes

347 comments sorted by

View all comments

Show parent comment

0

u/meneldal2 Oct 25 '24

You can change the language in your safe version of c++ to "moved from variable can never be used except to call its destroyer or else UB".

3

u/RoyAwesome Oct 25 '24

Yeah, but making it UB is a safety issue.