| 2963 | struct MatchAnyOf : MatcherBase<ArgT> { |
| 2964 | |
| 2965 | bool match( ArgT const& arg ) const override { |
| 2966 | for( auto matcher : m_matchers ) { |
| 2967 | if (matcher->match(arg)) |
| 2968 | return true; |
| 2969 | } |
| 2970 | return false; |
| 2971 | } |
| 2972 | std::string describe() const override { |
| 2973 | std::string description; |
| 2974 | description.reserve( 4 + m_matchers.size()*32 ); |