S
stephane
Is it possible to have several destructor in a same class?
No - because the destructor is implictly called in moststephane said:Is it possible to have several destructor in a same class?
stephane said:So there can be only one destructor.
If I have declared in my class this for instance:
~Tvector(){delete[]m_values;}
there is no ~Tvector(){} anymore?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.