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

Function equal

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

Source from the content-addressed store, hash-verified

278
279 template<class InputIterator1, class InputIterator2>
280 bool equal(InputIterator1 first1, InputIterator1 last1, InputIterator2 first2)
281 {
282 while (first1 != last1)
283 {
284 if (*first1++ != *first2++)
285 return false;
286 }
287
288 return true;
289 }
290
291 template<class InputIterator1, class InputIterator2>
292 bool equal(InputIterator1 first1, InputIterator1 last1,

Callers 1

test_non_modifyingMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_non_modifyingMethod · 0.68