From f99030d787396bbe633c1b92c6c24ed5ff3ac710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20Gr=C3=A4ser?= <graeser@dune-project.org> Date: Fri, 13 Dec 2024 12:55:28 +0100 Subject: [PATCH] [doc] Add changelog entry for constexpr support of DUNE_THROW --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d07580d9..6dc6b8878 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,11 @@ SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception ## C++: Changelog +- `DUNE_THROW` no longer prevents functions from being used in `constexpr` contexts, + as long the exception is not thrown. As a sideproduct, the macros now + also supports the syntax `DUNE_THROW(ExceptionType, a << b) << c << d` and + `DUNE_THROW(ExceptionType) << a << b`. + - Add deduction guides to `TupleVector` analogous to `std::tuple`. ## Build system: Changelog -- GitLab