Smart pointers prevent leaks, not use after free. Borrow checking prevents use after free, not leaks. There's no meaningful memory safety unless you have both.
True. Though it’s easy to subvert by just using shared_ptr<Foo>& rather than shared_ptr<Foo>.
-
-
The bigger problem in Firefox is people "subverting it" by using Foo*...
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
