diff options
| author | Martin Hořeňovský | 2026-05-12 08:57:55 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2026-05-12 11:05:29 +0200 |
| commit | 3cdae5faf08b7a3861be5e7bf6f1968e9229f460 (patch) | |
| tree | 883148c9b341e24169bce2595da512159450968e /docs | |
| parent | 651247c7f40eda6846fec736d2f9edac8949dacb (diff) | |
| download | catch3-3cdae5faf08b7a3861be5e7bf6f1968e9229f460.tar.gz | |
Constexpr matching support in IsEmpty and SizeIs matchers
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/matchers.md | 9 |
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)` + --- |