#pragma once #include "tl/detail/prologue.h" #include "tl/iterator.h" #include namespace tl { ////////////////////////////////////////////////////////////////////////// // mismatch() // // Container-based version of the `std::mismatch()` function to // return the first element where two ordered containers differ template auto mismatch(C1& c1, C2& c2) noexcept -> std::pair; // Overload of mismatch() for using a predicate evaluation other than `==` as // the function's test condition. template auto mismatch(C1& c1, C2& c2, BinaryPredicate&& p) noexcept -> std::pair; ////////////////////////////////////////////////////////////////////////// } // end namespace tl