| 3321 | struct MatchAnyOf : MatcherBase<ArgT> { |
| 3322 | |
| 3323 | bool match( ArgT const& arg ) const override { |
| 3324 | for( auto matcher : m_matchers ) { |
| 3325 | if (matcher->match(arg)) |
| 3326 | return true; |
| 3327 | } |
| 3328 | return false; |
| 3329 | } |
| 3330 | std::string describe() const override { |
| 3331 | std::string description; |
| 3332 | description.reserve( 4 + m_matchers.size()*32 ); |