From 5fd044989a57569f78ca145f14e04c4b8c90cdfd Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 20 Jul 2023 17:45:34 -0400 Subject: [PATCH] Add static call operator to C++23 feature check --- cmake/checks/check_01_cxx_features.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/checks/check_01_cxx_features.cmake b/cmake/checks/check_01_cxx_features.cmake index e54e413356..462774b39b 100644 --- a/cmake/checks/check_01_cxx_features.cmake +++ b/cmake/checks/check_01_cxx_features.cmake @@ -70,6 +70,10 @@ macro(_test_cxx23_support) # error \"insufficient support for C++23\" #endif + struct Dummy { + static void operator()() {} + }; + int main() {} " DEAL_II_HAVE_CXX23_FEATURES) -- 2.39.5