Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is it possible to support structual bind like [a, b, ...] = x;

24 views
Skip to first unread message

quanzhou

unread,
Jan 15, 2023, 2:38:02 PM1/15/23
to
auto [a, b, ...] = x;
auto [a, ..., b] = y;
auto [...,a, b] = z;

helps to get the last member variable of the right side type.

Öö Tiib

unread,
Jan 15, 2023, 6:40:49 PM1/15/23
to
I do not understand what it means. Can you describe a problem
and then write short example program that solves the problem
using that feature?
0 new messages