Re:Catching use-after-move C++ bugs with Clang's consumed an...
by pcwalton on Wednesday July 10, 2019 @06:12PM
(#20407139)
C and C++ cannot add borrow checking soundly while remaining any semblance of compatibility with the ecosystem. Consider what you would do with global variables, just to name one of many, many issues.
[ Parent
| on HN ]
Re:Catching use-after-move C++ bugs with Clang's consumed an...
by de_watcher on Thursday July 11, 2019 @05:55AM
(#20410346)
Why not? It's all done when you don't pass around raw references and pointers. The only hole that's left is use-after-move.