diff options
| author | Martin Hořeňovský | 2026-05-12 13:16:46 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2026-05-12 13:16:46 +0200 |
| commit | 6ee0826dcae55ed1e06b2c5701981221e979e1e6 (patch) | |
| tree | 349f3b34c528391896928c8cf8e8109123d35c26 /docs | |
| parent | 47ea57d74f8968eae242ea1b068a9e5b257c36b1 (diff) | |
| download | catch3-3.15.0.tar.gz | |
v3.15.0v3.15.0
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/matchers.md | 2 | ||||
| -rw-r--r-- | docs/other-macros.md | 2 | ||||
| -rw-r--r-- | docs/release-notes.md | 17 |
3 files changed, 19 insertions, 2 deletions
diff --git a/docs/matchers.md b/docs/matchers.md index a57dc6d3..fa176ced 100644 --- a/docs/matchers.md +++ b/docs/matchers.md @@ -474,7 +474,7 @@ and new style matchers arbitrarily. ## Constexpr matchers -> Support for constexpr matchers was introduced in Catch2 vX.Y.Z +> Support for constexpr matchers was introduced in Catch2 3.15.0 When compiled for C++20, the new-style matchers (can) support `constexpr` matching, albeit not `constexpr` stringification. The matcher combinators diff --git a/docs/other-macros.md b/docs/other-macros.md index de7e4bc6..9faf5da2 100644 --- a/docs/other-macros.md +++ b/docs/other-macros.md @@ -93,7 +93,7 @@ TEST_CASE("STATIC_CHECK showcase", "[traits]") { * `STATIC_REQUIRE_THAT` and `STATIC_CHECK_THAT` -> `STATIC_REQUIRE_THAT` and `STATIC_CHECK_THAT` was introduced in Catch2 X.Y.Z +> `STATIC_REQUIRE_THAT` and `STATIC_CHECK_THAT` was introduced in Catch2 3.15.0 `STATIC_{REQUIRE,CHECK}_THAT` are analogous to `STATIC_{REQUIRE,CHECK}`, but for matchers. They are always defined, even if the current compiler diff --git a/docs/release-notes.md b/docs/release-notes.md index d2c4ce63..3df9e690 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -2,6 +2,7 @@ # Release notes **Contents**<br> +[3.15.0](#3150)<br> [3.14.0](#3140)<br> [3.13.0](#3130)<br> [3.12.0](#3120)<br> @@ -74,6 +75,22 @@ [Even Older versions](#even-older-versions)<br> +## 3.15.0 + +### Fixes +* Fixed ambiguous overload issue with `std::optional<T>` in C++26. (#3095) + * Since `std::optional` was turned into a range, the partial specialization of `StringMaker` for range-like types and for `std::optional<T>` were in conflict. + +### Improvements +* Simplified `CATCH_REGISTER_ENUM` internals for faster compilation and retrieval. +* Successful assertion are slightly (1-2%) faster. +* Generic (new-style) matchers support constexpr matching in C++20. + * Combining matchers requires C++26. + * Catch2-provided generic matchers are all constexpr enabled. +* Added `STATIC_REQUIRE_THAT` for compile-time matcher assertions. + * This requires the compiler to support enough `constexpr` for matchers, see above. + + ## 3.14.0 ### Fixes |