From: Wolfgang Bangerth Date: Thu, 11 Jan 2024 23:15:39 +0000 (-0700) Subject: Export C++23 status to config.h. X-Git-Tag: relicensing~174^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff9d86c58b1de03c949454dfcceac928b197801b;p=dealii.git Export C++23 status to config.h. --- 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