Spaceship CPO wording in [cmp.alg] needs an overhaul
Open
Nobody has claimed this yet.
LWG issue needed
- Dominant language
- C++
- Stars
- 11.1k
- Forks
- 1.7k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 22
Description
WG21-N4861's spaceship customization point objects are specified in [cmp.alg] with an older form of wording. There are a couple of things that should be cleaned up:
- The CPOs should pass arguments as lvalues.
- There should be clear wording to block unqualified name lookup when activating ADL.
Found while developing #1370.
Contributor guide
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 with WG21-N4861's [[cmp.alg]] wording and the context from issue #1370. Revise the specification so the CPOs pass arguments as lvalues and clearly block unqualified lookup while activating ADL; done means both requested wording issues are resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100