In newer versions of the C++ standard, we are allowed to write functions that have multiple return values such as
std::tuple<int, std::string, float> someFunction0();
This forces us to call the functions as
int a;
std::string last_name;
float f_par;
std::tie(a, last_name, f_par) = someFunction0();
My question is, is there something that prevents the C++ committee from introducing a "simpler" form of multiple return value syntax? Such as
[int, std::string, float] someFunction1();
which would allow you to declare more inline when calling the function
[int a, std::string last_name, float f_par] = someFunction1();
(There are probably better syntactic solutions than the one that I provided.)
Compiler-wise, it shouldn't be an issue, right?