From ff9d86c58b1de03c949454dfcceac928b197801b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 11 Jan 2024 16:15:39 -0700 Subject: [PATCH] Export C++23 status to config.h. --- cmake/checks/check_01_cxx_features.cmake | 1 + include/deal.II/base/config.h.in | 1 + 2 files changed, 2 insertions(+) diff --git a/cmake/checks/check_01_cxx_features.cmake b/cmake/checks/check_01_cxx_features.cmake index e15dd2b217..509f11e2ac 100644 --- a/cmake/checks/check_01_cxx_features.cmake +++ b/cmake/checks/check_01_cxx_features.cmake @@ -20,6 +20,7 @@ # # DEAL_II_HAVE_CXX17 # DEAL_II_HAVE_CXX20 +# DEAL_II_HAVE_CXX23 # # DEAL_II_HAVE_FP_EXCEPTIONS # DEAL_II_HAVE_COMPLEX_OPERATOR_OVERLOADS diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index ed1deb8ebf..9ca48428da 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -153,6 +153,7 @@ #cmakedefine DEAL_II_HAVE_CXX14 #cmakedefine DEAL_II_HAVE_CXX17 #cmakedefine DEAL_II_HAVE_CXX20 +#cmakedefine DEAL_II_HAVE_CXX23 /** * If we have C++20 available, we can have concepts and requires -- 2.39.5