P1787: CWG2331 is resolved by defining lookup from complete-class contexts and out-of-line member definitions.
Wording: The declaration set is the result of a single search in the scope of C for N from immediately after the class-specifier of C if P is in a complete-class context of C or from P otherwise. ([class.member.lookup]/4)
Details
Details
- Reviewers
shafik - Group Reviewers
Restricted Project - Commits
- rG19ef8e8446df: [clang] Mark CWG2331 as N/A
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The defect report has two examples even though the first one is commented incorrectly considering the final resolution. I am sure they are covered in the test suite in other places but why not add them?
Comment Actions
My understanding of this CWG is the following. There was redundant wording. Then someone came up with wording that fixes that. Then it was identified that proposed wording is defective, and gives couple of examples, which was enough to return issue to "drafting".
What I find important here is that no behavioral changes were introduced. Those examples just give a hint what a conformance test for those paragraphs should take into account.