MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / contains

Function contains

tests/catch.hpp:3194–3201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3192 }
3193 template <typename InputIterator, typename T>
3194 bool contains(InputIterator first, InputIterator last, T const& item) {
3195 for (; first != last; ++first) {
3196 if (*first == item) {
3197 return true;
3198 }
3199 }
3200 return false;
3201 }
3202 }
3203
3204 template<typename T>

Callers 3

matchMethod · 0.85
matchMethod · 0.85
matchesMethod · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected