The destructor is quite possibly one of those most annoying features of C++ that I'm actually happy to have.
I just wish that there was a "destructor" that would run before destructing the actual object's derived classes.
-
-
Best you can do is have a function like "Shutdown()" that you just remember to call in the most derived class.
#programmingKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
-
-
@tloch14 Sounds like a Decepticon. Let me call in Sector 7 for help. - Näytä vastaukset
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.