cplusplus / cplusplus/draft

[expr.type] p1 should possibly be a note

Open
#6,455 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

P3-Other
Dominant language
TeX
Stars
221
Forks
813
Avg merge
16h 4m
Merged PRs (30d)
36

Description

If an expression initially has the type “reference to T” ([dcl.ref], [dcl.init.ref]), the type is adjusted to T prior to any further analysis.
The expression designates the object or function denoted by the reference, and the expression is an lvalue or an xvalue, depending on the expression.

- [expr.type] p1

To me it seems like this paragraph could be a note, because it doesn't provide any normative information. This paragraph does not state what kind of references are turned into lvlaues or xvalues respectively, it merely hints to the reader that such a conversion mechanism exists.

All the specifics can be found in other paragraphs, such as:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with [expr.type] paragraph 1 and compare its wording with the cited [expr.call] paragraph 13 and [expr.static.cast] paragraph 1. Determine whether the paragraph supplies normative information or should be presented as a note; done means the issue has a justified standards-editorial resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, tex
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.