Каков порядок вычисления оператора равенства в C ++?
Я вижу много примеров кода, таких как this
template <class ForwardIt, class Compare>
ForwardIt is_sorted_until(ForwardIt first, ForwardIt last, Compare comp)
{
if (first != last) {
ForwardIt next = first;
while (++next != last) {
if (comp(*next, *first))
return next;
first = next;
}
}
return last;
}
и в while (++next != last)
- оценивается ли левая сторона перед правой?