QuoteSorry for double post.There is no problem with double-posting. I actually prefer it over editing a post that you made hours earlier.
If you make a new post, I will get an email and read it. But I don't get a mail if you edit a post. If it's just a small edit or if the post was only a few minutes ago then editing is better, but if like in the other topic there is half a day between the post and the edit, then you should have made a new post instead.
I'm not strict with rules for editing or double posting, you should just do what you find best for that situation.
QuoteI've identified the problem why unique_ptr::~unique_ptr was not calling destructor, cuz they were not tagged as virtualDamn virtual destructors in c++![]()

I can think of reasons why they don't do it, but it would be so much easier if they were virtual automatically once you inherit from the class
