abstract class and interface classes

closed account (j8Mo2yTq)
When declaring an interface using pure virtual functions is it normal or suggested to declare the destructor as virtual too or is it not usually done with interface classes.
See:

A class with a virtual function should have a virtual or protected destructor
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rh-dtor

and
A polymorphic class should suppress public copy/move
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc-copy-virtual
closed account (j8Mo2yTq)
Thanks for the link. It looks like a good source of information.That will keep me busy for awhile going through that.
Topic archived. No new replies allowed.