[over.over] p2 function type vs. pointer to function type
Nobody has claimed this yet.
- Dominant language
- TeX
- Stars
- 221
- Forks
- 813
- Avg merge
- 16h 4m
- Merged PRs (30d)
- 36
Description
[over.over] p2
Otherwise, a non-template function with type F is selected for the function type FT of the target type if F (after possibly applying the function pointer conversion ([conv.fctptr])) is identical to FT.
a non-template function with type F implies F is a function type, the function type FT means FT is a function type.
So, consider this phrasing
if F (after possibly applying the function pointer conversion ([conv.fctptr])) is identical to FT.
Why the function pointer conversion needs here? Maybe the intent here is:
If pointer to F is identical to pointer to FT(after possibly applying the function pointer conversion ([conv.fctptr])).
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 [over.over] p2 and cross-reference the cited [conv.fctptr] rule. Determine whether the existing wording applies the conversion to a function type or to pointers to function types; the work is complete when the intended comparison and wording are unambiguous in the draft.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100