I am confused with the following statement.
From the specification:
Before the implicitly-declared default constructor for a class is implicitly defined, all the implictly-declared default constructors for its base classes and its non static data members shall have been implicitly defined.
What i understand is :
implicitly declared default constructor is implicitly defined when the object is created.
What does the above statement means?. if base class contains explicit default constructor, then the derived class can not have a implicit default constructor?. Kindly clarify, it could be nice if someone provides piece of sample code.