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

Method match

tests/catch.hpp:2945–2951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2943 struct MatchAnyOf : MatcherBase<ArgT> {
2944
2945 bool match( ArgT const& arg ) const override {
2946 for( auto matcher : m_matchers ) {
2947 if (matcher->match(arg))
2948 return true;
2949 }
2950 return false;
2951 }
2952 std::string describe() const override {
2953 std::string description;
2954 description.reserve( 4 + m_matchers.size()*32 );

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected