A virtual destructor which does nothing is
virtual ~ClassName() {}
Since C++11 we can alternatively say:
virtual ~ClassName() = default;
Is there any difference between these two?
A virtual destructor which does nothing is
virtual ~ClassName() {}
Since C++11 we can alternatively say:
virtual ~ClassName() = default;
Is there any difference between these two?