cplusplus / cplusplus/draft

[range.join.with.iterator] Simplify `operator--` with *`as-lvalue`*

Open
#6,145 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

This drafting note accompanies https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2770r0.html#pnum_26:

[ Drafting note: The specification of operator-- in paragraph 14 can be editorially simplified using the new as-lvalue helper; that cleanup is not included in this paper as there is no normative impact. ]

See operator--: https://eel.is/c++draft/range.join.with.iterator#itemdecl:10.

The PR which adds as-lvalue is #6128.

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

Read the drafting note in P2770R0 and inspect operator-- in range.join.with.iterator, then review PR #6128 for the as-lvalue helper it introduces. The work is complete when the operator-- specification is editorially simplified using that helper without changing its normative meaning.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.