in main, i should trust the default dtor?
What do you mean by trusting default dtor? default dtor is a trivial-dtor which do noting.
So should i override the default dtor or not?
If you need to do something special on your object destruction, yes you should do that.
Обсуждают сегодня