| 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 ); |