Can I rely on the following loop to iterate in order:
vector<A> a;
for( auto i : a )
{
// Does i loop from the first to the last element in a, or i can come in any order?
}
Can I rely on the following loop to iterate in order:
vector<A> a;
for( auto i : a )
{
// Does i loop from the first to the last element in a, or i can come in any order?
}