Are there any dangers in not initializing an empty constructor parent class in the child initialization list?
Example:
class Parent
{
public:
Parent(){}
~Parent(){}
};
class Child : public Parent
{
public:
Child(): Parent()
{}
~Child(){}
};
Reason for the question: I often see code where a "Parent" class with an empty ctor is not initialized in the child ctor initialization list.