Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template mismatch

boost::algorithm::mismatch

Synopsis

// In header: <boost/algorithm/cxx14/mismatch.hpp>


template<typename InputIterator1, typename InputIterator2> 
  std::pair< InputIterator1, InputIterator2 > 
  mismatch(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, 
           InputIterator2 last2);

Description

Parameters:

first1

The start of the first range.

first2

The start of the second range.

last1

One past the end of the first range.

last2

One past the end of the second range.

Returns:

a pair of iterators pointing to the first elements in the sequence that do not match


PrevUpHomeNext