One of the weirdest C++ beliefs is that changing “Foo *” to “Foo &” and “foo->x” to “foo.x” suddenly makes all memory safety problems disappear.
-
-
How am I supposed to believe that modern C++ takes memory safety seriously when people don’t even use .at() instead of unchecked array indexing most of the time?
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
The more correct line that you'll hear is no raw _owning_ pointers. It's about making memory management manageable.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
This Tweet is unavailable.
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.