| 3267 | struct MatchAnyOf : MatcherBase<ArgT> { |
| 3268 | |
| 3269 | bool match( ArgT const& arg ) const override { |
| 3270 | for( auto matcher : m_matchers ) { |
| 3271 | if (matcher->match(arg)) |
| 3272 | return true; |
| 3273 | } |
| 3274 | return false; |
| 3275 | } |
| 3276 | std::string describe() const override { |
| 3277 | std::string description; |
| 3278 | description.reserve( 4 + m_matchers.size()*32 ); |