Why C++17 structured binding do not like the this->
operator in is a syntax like this one :
std::tuple<int, std:string> external_function()
{
return { 0, "" };
}
class Foo
{
public:
void internal_method()
{
auto [this->x, unused] = external_function();
}
private:
int x;
};
How to add a class member specifier to the returned variable names?