A

catchorg/Catch2: v3.15.0

Zenodo (CERN European Organization for Nuclear Research)

Abstract

Fixes Fixed ambiguous overload issue with std::optional 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 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.

Authors 30

  1. Affiliation as printed

    Shaved Yaks

  2. Martin Moene Aachen

    Leiden University

    Affiliation as printed

    Leiden University

  3. Autodesk (United States)

    Affiliation as printed

    Autodesk

  4. Lawrence Berkeley National Laboratory · Helmholtz-Zentrum Dresden-Rossendorf

    Affiliation as printed

    LBNL, previously HZDR

  5. Affiliation as printed

    Gentoo Linux

  6. Affiliation as printed

    @conan-io

  7. VZ
    Affiliation as printed

    TT-Solutions

  8. Affiliation as printed

    nil

Cited by 0 stored of 0

No patents citing this paper on Lens.org (checked 2026-10-11).

References 0