Comment

Comment by mgraczyk

    class Tree {
    public:
    ...
      ~Tree() { ...
    ...
If you have create a non-final class with a public non-virtual destructor, you are basically guaranteed that code using your library will have memory leaks.

:(

parent mgraczyk 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton