Compare Ranges
The functions described below allow us to check the degree of equality between ranges.
With std::equal
, we can compare ranges. std::lexicographical_compare
and std::mismatch
compute which range is the smallest one.
equal
: checks if both ranges are equal.
Get hands-on with 1400+ tech skills courses.