MCPcopy Create free account
hub / github.com/HelenOS/helenos / mismatch

Function mismatch

uspace/lib/cpp/include/__bits/algorithm.hpp:223–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221
222 template<class InputIterator1, class InputIterator2>
223 pair<InputIterator1, InputIterator2> mismatch(InputIterator1 first1, InputIterator1 last1,
224 InputIterator2 first2)
225 {
226 while (first1 != last1 && *first1 == *first2)
227 {
228 ++first1;
229 ++first2;
230 }
231
232 return make_pair(first1, first2);
233 }
234
235 template<class InputIterator1, class InputIterator2, class BinaryPredicate>
236 pair<InputIterator1, InputIterator2> mismatch(InputIterator1 first1, InputIterator1 last1,

Callers 1

test_non_modifyingMethod · 0.85

Calls 1

make_pairFunction · 0.85

Tested by 1

test_non_modifyingMethod · 0.68