MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / contains

Function contains

unittests/catch.hpp:2535–2542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2533 }
2534 template <typename InputIterator, typename T>
2535 bool contains(InputIterator first, InputIterator last, T const& item) {
2536 for (; first != last; ++first) {
2537 if (*first == item) {
2538 return true;
2539 }
2540 }
2541 return false;
2542 }
2543 }
2544
2545 template<typename T>

Callers 3

matchMethod · 0.85
matchMethod · 0.85
matchesMethod · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected