I recently came to know that in C++ pure virtual functions can optionally have a body.
What are the real-world use cases for such functions?
One use case is calling the pure virtual function from the constructor or the destructor of the class.