Solid advice from Affective, to which I’ll add: it’s more secure to use member functions than free functions because it totally avoids “use after free”.
https://twitter.com/AffectiveCpp/status/1043822183716392965 …
-
-
The class was using Visual Studio, with UI via MFC via Visual Studio's pointy clicky UI-building interface (*), with no GC library being used. Effectively, the code just leaked memory in this case. (*: This CS program at this college used MS products for pretty much everything)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.