From 081a3b62abcf721b52ae0c6a3fc32ba1103246dc Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 31 Jan 2024 21:45:27 -0700 Subject: [PATCH] Add a changelog entry. --- doc/news/changes/major/20240125Bangerth | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/news/changes/major/20240125Bangerth b/doc/news/changes/major/20240125Bangerth index d7d5c7ecb5..a7ef885c7d 100644 --- a/doc/news/changes/major/20240125Bangerth +++ b/doc/news/changes/major/20240125Bangerth @@ -6,4 +6,8 @@ the old way of indicating such a thing (namely, writing `Assert(false, ExcNotImplemented());`, the error is raised even in release mode.
+Similarly, there is now also `DEAL_II_ASSERT_UNREACHABLE()` that is used +in places that control flow really should not reach, but where it is +best to abort a program if it does. +
(Wolfgang Bangerth, 2024/01/24) -- 2.39.5