Is there any difference between virtual destructor=default and one with empty body?

Viewed 460

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?

1 Answers
Related