| 21 | |
| 22 | namespace { |
| 23 | struct MatchAllMatcher final : public Catch::Matchers::MatcherGenericBase { |
| 24 | public: |
| 25 | template <typename Any> |
| 26 | constexpr bool match( Any&& ) const { |
| 27 | return true; |
| 28 | } |
| 29 | |
| 30 | std::string describe() const override { |
| 31 | using namespace std::string_literals; |
| 32 | return "Matches anything"s; |
| 33 | } |
| 34 | }; |
| 35 | |
| 36 | constexpr MatchAllMatcher MatchAll() { return MatchAllMatcher(); } |
| 37 |