Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorMartin Hořeňovský2026-05-12 08:57:55 +0200
committerMartin Hořeňovský2026-05-12 11:05:29 +0200
commit3cdae5faf08b7a3861be5e7bf6f1968e9229f460 (patch)
tree883148c9b341e24169bce2595da512159450968e /docs
parent651247c7f40eda6846fec736d2f9edac8949dacb (diff)
downloadcatch3-3cdae5faf08b7a3861be5e7bf6f1968e9229f460.tar.gz
Constexpr matching support in IsEmpty and SizeIs matchers
Diffstat (limited to 'docs')
-rw-r--r--docs/matchers.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/matchers.md b/docs/matchers.md
index a013245c..a27bbddd 100644
--- a/docs/matchers.md
+++ b/docs/matchers.md
@@ -491,6 +491,15 @@ TEST_CASE("Constexpr support for matchers", "[constexpr][matchers]") {
}
```
+### First party constexpr matchers
+
+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)`
+
---