Compare Ranges
The functions describe below allow us to check the degree of equality between ranges.
With std::equal
you can compare ranges on equality. With std::lexicographical_compare
and std::mismatch
you discover which range is the smaller one.
equal
: checks if both ranges are equal