Jan 20, 2025
Post comments count1
Post likes count3
Reminder: When a C++ object fails to construct, the destructor does not run

If you need to run after a failed construction, you have to put it in a base class or member variable.