Compare Ranges
The functions described below allow us to check the degree of equality between ranges.
We'll cover the following...
With std::equal
, we can compare ranges. std::lexicographical_compare
and std::mismatch
compute which range is the smallest one.
...