| 272 | typename Iter2, |
| 273 | typename Sentinel2> |
| 274 | std::pair<Iter1, Iter2> |
| 275 | mismatch(Iter1 first1, Sentinel1 last1, Iter2 first2, Sentinel2 last2) |
| 276 | { |
| 277 | for (; first1 != last1 && first2 != last2; ++first1, ++first2) { |
| 278 | if (*first1 != *first2) |
| 279 | break; |
| 280 | } |
| 281 | return {first1, first2}; |
| 282 | } |
| 283 | |
| 284 | /** Sentinel-friendly version of |
| 285 | `std::lexicographical_compare_three_way()`, except that it returns an |
no outgoing calls
no test coverage detected