[temp.deduct.call] p3 Adding "including" to make the meaning clearer
Nobody has claimed this yet.
- Dominant language
- TeX
- Stars
- 221
- Forks
- 813
- Avg merge
- 16h 4m
- Merged PRs (30d)
- 36
Description
[temp.deduct.call] p3 says
A forwarding reference is an rvalue reference to a cv-unqualified template parameter that does not represent a template parameter of a class template (during class template argument deduction ([over.match.class.deduct])).
The wording in the parenthesis sounds like it is a specific interpretation of what we mean by "represent a template parameter of a class template". However, "represent a template parameter of a class template" should also have its literal meaning.
template<class T>
struct A{
void foo(T&&){}
};
The case is not about class template argument deduction.
Improvement
A forwarding reference is an rvalue reference to a cv-unqualified template parameter that does not represent a template parameter of a class template (including during class template argument deduction ([over.match.class.deduct])).
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
Locate the wording for [temp.deduct.call] in the TeX draft source and read the surrounding paragraph, including its reference to [over.match.class.deduct]. Update the sentence to include "including" as proposed, then check the generated draft to confirm the wording and cross-reference remain correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- tex
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100