This is not a footgun. This is about the most basic things from the C++ object model you should know.
C++ is not Java. The first thing to learn is where things get allocated and how copying works, which is quite different from "almost-everything-in-the-heap" languages.
C++ is not Java. The first thing to learn is where things get allocated and how copying works, which is quite different from "almost-everything-in-the-heap" languages.