| 2910 | template<typename ArgT> |
| 2911 | struct MatchAllOf : MatcherBase<ArgT> { |
| 2912 | bool match( ArgT const& arg ) const override { |
| 2913 | for( auto matcher : m_matchers ) { |
| 2914 | if (!matcher->match(arg)) |
| 2915 | return false; |
| 2916 | } |
| 2917 | return true; |
| 2918 | } |
| 2919 | std::string describe() const override { |
| 2920 | std::string description; |
| 2921 | description.reserve( 4 + m_matchers.size()*32 ); |