4 ms·
But you only need to write the destructor once.
by CodeIsTheEnd 4y ago
But you only need to write the destructor once.
- gilbetron 4y agoFair point, but on the other hand, the destructor has to work for all contexts. The usual argument is that the creator of the class has the best vision for what should be in the destructor, but I don't agree with that either.