[func.wrap.ref.class] Rename the parameter `c` in `constant_wrapper<c, F>`?
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- cpp
- Domain
- documentation
Research direction
Start with the [func.wrap.ref] class wording linked in the issue and review the surrounding declaration and comment thread for the naming conventions being applied. The work is done when the template parameter in the constant_wrapper<c, F> declaration has an agreed replacement name and the draft wording reflects it.
Written by the indexing model from the issue text.
Description
https://eel.is/c++draft/func.wrap.ref#class:
template<auto c, class F> constexpr function_ref(constant_wrapper<c, F>) noexcept;
The use of a lowercase c as the template parameter name here seems a bit odd to me; in libraries, we rarely seem to use a single lowercase letter as a template parameter. The c here also overlaps with the c in cv.
Would it be better to use X, or even _ (because we didn't use it at all)?
- Dominant language
- TeX
- Stars
- 221
- Forks
- 813
- Avg merge
- 17h 45m
- Merged PRs (30d)
- 34
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.
More from cplusplus/draft
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
ub-ifndr
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
-
P3-Other
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
falcosecurity/falco-website#1601 ·
-
documentation
Difficulty 2/5 Half a day Newbie friendliness 62/100
inmanta/inmanta-core#10835 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
k3s-io/k3s-ansible#566 ·