| 2284 | struct MatchAnyOf : MatcherBase<ArgT> { |
| 2285 | |
| 2286 | bool match( ArgT const& arg ) const override { |
| 2287 | for( auto matcher : m_matchers ) { |
| 2288 | if (matcher->match(arg)) |
| 2289 | return true; |
| 2290 | } |
| 2291 | return false; |
| 2292 | } |
| 2293 | std::string describe() const override { |
| 2294 | std::string description; |
| 2295 | description.reserve( 4 + m_matchers.size()*32 ); |