44[[nodiscard]]
constexpr auto mismatch(InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, Predicate pred)
47 for (; first1 != last1 and first2 != last2; ++first1, (void)++first2) {
48 if (not pred(*first1, *first2)) {
53 return {first1, first2};
constexpr auto mismatch(InputIt1 first1, InputIt1 last1, InputIt2 first2, Predicate pred) -> pair< InputIt1, InputIt2 >
Returns the first mismatching pair of elements from two ranges: one defined by [first1,...
Definition mismatch.hpp:25
Function object for performing comparisons. Unless specialised, invokes operator== on type T....
Definition equal_to.hpp:14