mismatch « STL Algorithms Non modifying sequence operations « C++ Tutorial

25.12.1.Generic mismatch algorithm: Find the corresponding positions in a deque and list at which unequal elements first occur
25.12.2.Check for mismatch between two vectors
25.12.3.Use mismatch function to find the first match
25.12.4.Use mismatch function with custom function
25.12.5.Demonstrates standard library functions equal, mismatch, lexicographical_compare.