| 2930 | template<typename ArgT> |
| 2931 | struct MatchAllOf : MatcherBase<ArgT> { |
| 2932 | bool match( ArgT const& arg ) const override { |
| 2933 | for( auto matcher : m_matchers ) { |
| 2934 | if (!matcher->match(arg)) |
| 2935 | return false; |
| 2936 | } |
| 2937 | return true; |
| 2938 | } |
| 2939 | std::string describe() const override { |
| 2940 | std::string description; |
| 2941 | description.reserve( 4 + m_matchers.size()*32 ); |