This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.

3365. Rename ref-is-glvalue to deref-is-ref

Section: 25.7.14.3 [range.join.iterator] Status: NAD Submitter: Johel Ernesto Guerrero Peña Opened: 2020-01-07 Last modified: 2020-11-09

Priority: 0

View all other issues in [range.join.iterator].

View all issues with NAD status.

Discussion:

The name of join_view::iterator::ref-is-glvalue, defined as is_reference_v<range_reference_t<Base>>, doesn't take into account the fact that it may also be true because range_reference_t<Base> is an rvalue (e.g. for move_iterator<int>).

We suggest renaming it to deref-is-ref.

[2020-01-14 Status set to Tentatively NAD after five positive votes on the reflector. This issue was based on a misunderstanding by the submitter which had been cleared up in an related editorial issue.]

[2020-11-09 Status changed: Tentatively NAD → NAD.]

Proposed resolution:

Rename all occurrences referring to the symbol join_view::iterator::ref-is-glvalue to deref-is-ref.