C++ Logo

std-discussion

Advanced search

Re: Question on P1306: Expansion Statements

From: Jens Maurer <jens.maurer_at_[hidden]>
Date: Mon, 12 Jan 2026 10:14:19 +0100
This is not in the wording section of the paper.

The wording section is what contains the changes to the standard's Working Draft.

Do you have an example that isn't treated properly by the current wording?

Jens



On 1/12/26 04:44, Liu Yanzuo via Std-Discussion wrote:
> Hi,
>
> I noted that, in [P1306R5 3.3 Expansion over Tuples](https://wg21.link/p1306r5#expansion-over-tuples):
>
>> get-expr(i) is __vi if either the referenced type is an lvalue reference or the expansion-initializer is an lvalue. Otherwise, std::move(__vi).
>
> This logic doesn't appear in the proposed wording. Was it forgotten?
>
> Thanks,
> Yanzuo Liu
>

Received on 2026-01-12 09:14:26