There is a newer version of the record available.

Published May 12, 2026 | Version v3.15.0

catchorg/Catch2: v3.15.0

Description

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.

Files

catchorg/Catch2-v3.15.0.zip

Files (1.5 MB)

Name Size Download all
md5:61f24d6d5536148661c789fac46b77d5
1.5 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/catchorg/Catch2/tree/v3.15.0 (URL)

Software