Let's say I have such a tuple.
std::tuple<int &, int> tuple{};
I want to do something like that :
auto [i1, i2] = tuple; // Here i1 is lvalue reference, i2 is int
i1 is a lvalue reference because the first value on the tuple is one lvalue reference.
However, I did not write auto &[i1, i2]
. So, is there a possibility to "remove" the reference in this case? So that I got i1 and i2 as "simple" int.
Thanks !