I wanted at first to try if it was allowed to do something like :
vector<int> a{1, 2};
vector<int> b{3, 4};
for(auto ai : a, auto bi : b)
{
}
This didn't work but I was expecting it because of the size constraint.
However, I was surprised that this didn't work either :
vector<int> b{3, 4};
for(int x = 1, auto bi : b)
{
}
Isn't the comma operator meant to resolve every side effect of its left-side before going on the right side ?