[namespace.udecl]/10 is hard to read
Nobody has claimed this yet.
- Dominant language
- TeX
- Stars
- 221
- Forks
- 813
- Avg merge
- 16h 4m
- Merged PRs (30d)
- 36
Description
If a declaration named by a using-declaration that inhabits the target scope of another declaration B potentially conflicts with it ([basic.scope.scope]), and either is reachable from the other, the program is ill-formed unless B is name-independent and the using-declaration precedes B.
Can we change it to something like this:
If a using-declaration that inhabits the target scope of a declaration B names a declaration A that potentially conflicts with B, [...]
(I know we talked about this sentence in CWG at length when we added the "name-independent" stuff, but it seems like we didn't do much about it...)
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
Start at [namespace.udecl]/10 in the C++ draft and compare the current sentence with the proposed reordered wording. Done means the paragraph is easier to read while retaining the existing conditions about declarations A and B, reachability, name-independence, and declaration order.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- tex
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100