[temp.deduct.type] p4 values vs parameters
Nobody has claimed this yet.
- Dominant language
- TeX
- Stars
- 221
- Forks
- 813
- Avg merge
- 16h 4m
- Merged PRs (30d)
- 36
Description
In most cases, the types, templates, and non-type values that are used to compose P participate in template argument deduction.
Isn't that it should be phrased as the following
In most cases, the type, template, and non-type template parameters that are used to compose P participate in template argument deduction.
This keeps consistent with [temp.deduct.type] p1
Template arguments can be deduced in several different contexts, but in each case a type that is specified in terms of template parameters (call it P) is compared with an actual type (call it A)
The same issue is in the below sentence
In certain contexts, however, the
valuetemplate parameter does not participate intypetemplate argument deduction, but instead uses the values of template arguments that were either deduced elsewhere or explicitly specified. If a template parameter is used only in non-deduced contexts and is not explicitly specified, template argument deduction fails.
It is the template parameter that participates in template argument deduction rather than the value. Furthermore, should we specifically say which case does not the template parameter participate in template argument deduction? At least, we should say the template parameter within a non-deduced context does not participate in the template argument deduction, which can associate it with the latter sentence "If a template parameter is used only in non-deduced contexts...".
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
Search the draft for [temp.deduct.type] and the quoted paragraphs, then compare their terminology with paragraph 1 and the non-deduced-context sentence cited in the issue. Done means the wording consistently identifies template parameters and clearly explains when they do not participate in deduction.
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
- Mostly clear
- Newbie friendliness
- 45/100