Constexpr matching support in the quantifier matchers

This commit is contained in:
Martin Hořeňovský
2026-05-12 11:05:31 +02:00
parent 3cdae5faf0
commit c267b6eb4d
4 changed files with 79 additions and 33 deletions
+5 -2
View File
@@ -497,8 +497,11 @@ Some (but not all) of Catch2's generic matchers support `constexpr`
matching. Currently, this includes:
* `IsEmpty()`
* `SizeIs(size_t target_size)`
* `SizeIs(Matcher size_matcher)`
* `SizeIs(size_t target_size)`, `SizeIs(Matcher size_matcher)`
* `AllMatch(Matcher element_matcher)`
* `AnyMatch(Matcher element_matcher)`
* `NoneMatch(Matcher element_matcher)`
* `AllTrue()`, `AnyTrue()`, `NoneTrue()`
---