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
We refer to "unambiguous base class" in this document many times but we never clearly define the concept in this document. I think we can define this concept with the help of [class.member.lookup] p5.3.
[class.member.lookup] p5.3 says
Otherwise, the new S(N, C) is a lookup set with the shared set of declarations and the union of the subobject sets.
We can say
A non-dependent class type B is an unambiguous base class of class C, if and only if C is derived from B and the declaration set and the subobject set of S(B, C) consist of a unique declaration of B and a unique member subobject, respectively.
The text was updated successfully, but these errors were encountered:
If class B is a base class of class D, B is an unambiguous base class of D if there is only one (possibly recursive) base class subobject of type B of an object of type D, otherwise, B is an ambiguous base class of D.
We refer to "unambiguous base class" in this document many times but we never clearly define the concept in this document. I think we can define this concept with the help of [class.member.lookup] p5.3.
[class.member.lookup] p5.3 says
We can say
The text was updated successfully, but these errors were encountered: