[expr.prim.id.unqual]/15 Could a variable be an object / reference?
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- cpp
- Domain
- documentation
Research direction
Start by comparing [expr.prim.id.unqual]/15 with the variable definition in [basic.pre]/7 and the linked wording. Determine whether the terms describe the entity introduced by the declaration or the declaration itself, then revise the sentence for consistent terminology. Done means the wording clearly distinguishes variables from the objects or references they introduce.
Written by the indexing model from the issue text.
Description
The variable / object distinction becomes confusing in [expr.prim.id.unqual]/15
An implicitly movable entity is a variable with automatic storage duration that is either a non-volatile object or an rvalue reference to a non-volatile object type.
How can a variable BE an object or reference? Isn't it just
... a variable with automatic storage duration
that iswhose declaration declares either a non-volatile object or an rvalue reference to a non-volatile object type.
See [basic.pre]/7
A variable is introduced by the declaration D of
- a reference other than a non-static data member or
- an object,
where D is not the parameter-declaration of a template-parameter.
It's unclear whether the variable introduced by D is a reference or object, respectively, or these terms are distinct, associated with the same D only.
- 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 85/100
-
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
Similar issues
-
Link Checker Report Openautomated issue report
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Humanity AI Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
numfocus/project-fundraising#166 ·
-
area:proxy bug security severity:low track:open-source
Difficulty 2/5 1-3 hours Newbie friendliness 70/100