Can structured bindings only be used with some kind of "struct" as return value?
Give back any of class/struct e.g. a tuple here works fine:
auto f()
{
return std::make_tuple(1,2.2);
}
Is there something which enables something like:
auto f() -> [int,double]
{
return { 1, 2.2 }; // maybe with or without braces arround
}