MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1gbfgfw/why_safety_profiles_failed/ltoq1eb/?context=3
r/cpp • u/steveklabnik1 • Oct 24 '24
347 comments sorted by
View all comments
Show parent comment
0
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.
3
Yeah, but making it UB is a safety issue.
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".