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

Function equal

include/boost/parser/detail/text/algorithm.hpp:259–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257 typename Iter2,
258 typename Sentinel2>
259 bool equal(Iter1 first1, Sentinel1 last1, Iter2 first2, Sentinel2 last2)
260 {
261 for (; first1 != last1 && first2 != last2; ++first1, ++first2) {
262 if (*first1 != *first2)
263 return false;
264 }
265 return first1 == last1 && first2 == last2;
266 }
267
268 /** Sentinel-friendly version of `std::mismatch()`. */
269 template<

Callers 5

mainFunction · 0.85
github_issue_248Function · 0.85
operator==Method · 0.85
operator==Method · 0.85
operator==Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected