You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Members of a base class are also members of the derived class.
Analogously, we can say that
non-static data members of a base class are also non-static data members of the derived class.
This makes
[class.special] p7
For a class, its non-static data members, its non-virtual direct base classes, and, if the class is not abstract ([class.abstract]), its virtual base classes are called its potentially constructed subobjects.
and [class.base.init] p2
Unless the mem-initializer-id names the constructor's class, a non-static data member of the constructor's class, or a direct or virtual base of that class, the mem-initializer is ill-formed.
be non-reasonable(as far as I have found, maybe there are other paragraphs that have the same issue).
We should give a stricter extent as that
direct non-static data members...
The text was updated successfully, but these errors were encountered:
[class.derived.general] p2 says that
Analogously, we can say that
This makes
[class.special] p7
and [class.base.init] p2
be non-reasonable(as far as I have found, maybe there are other paragraphs that have the same issue).
We should give a stricter extent as that
The text was updated successfully, but these errors were encountered: