[class.member.lookup] lookups names in base class *subobjects*
Nobody has claimed this yet.
- Dominant language
- TeX
- Stars
- 221
- Forks
- 813
- Avg merge
- 16h 4m
- Merged PRs (30d)
- 36
Description
I think subobjects do not contain names, but base classes do.
[class.virtual]/2 also says "(base) class (sub)object" when it should say "(base) class":
A virtual member function
C::vfof a classobjectSis a final overrider unless the most derived class (6.7.2) of whichSis a base classsubobject(if any) declares or inherits another member function that overridesvf. In a derived class, if a virtual member function of a base classsubobjecthas more than one final overrider the program is ill-formed.
I believe such fix would be consistent with the wording in [class.derived]:
A class
Bis a base class of a classDif it is a direct base class ofDor a direct base class of one ofD’s base classes.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the cited [class.member.lookup], [class.virtual]/2, and [class.derived] clauses in the draft source. Check whether the references to base-class subobjects are accurate and whether the proposed wording is consistent across the clauses. Done means the relevant standard wording is corrected and the surrounding terminology remains consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100