Summary: | init-capture pack of references requires ... on wrong side | ||
---|---|---|---|
Product: | gcc | Reporter: | Barry Revzin <barry.revzin> |
Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | webrown.cpp |
Priority: | P3 | Keywords: | rejects-valid |
Version: | 9.2.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2019-09-21 00:00:00 |
Description
Barry Revzin
2019-09-20 23:26:03 UTC
Confirmed. In the Prague meeting, this paper (https://brevzin.github.io/cpp_proposals/2095_lambda_pack_cwg/p2095r0.html) was adopted into what will become the C++20 standard, which moves the & in the grammar to the left side of the ellipses. So now I can say officially, [&...us=ts]{} is the correct spelling. Actually this was just fixed: r10-6813-g32b8f5df9f05426c82c6de1acaf9ca4aec68039d |