MCPcopy Create free account
hub / github.com/boostorg/parser / mismatch

Function mismatch

include/boost/parser/parser.hpp:2802–2816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2800 typename Sentinel2,
2801 typename Pred>
2802 std::pair<Iter1, Iter2> mismatch(
2803 Iter1 first1,
2804 Sentinel1 last1,
2805 Iter2 first2,
2806 Sentinel2 last2,
2807 Pred pred)
2808 {
2809 std::pair<Iter1, Iter2> retval{first1, first2};
2810 while (retval.first != last1 && retval.second != last2 &&
2811 pred(*retval.first, *retval.second)) {
2812 ++retval.first;
2813 ++retval.second;
2814 }
2815 return retval;
2816 }
2817
2818 template<
2819 typename Iter1,

Callers 3

callMethod · 0.70
mainFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected