Skip to content

[class.member.lookup] Clarify "unambiguous base class" #5173

@xmh0511

Description

@xmh0511

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy