Merge pull request #14268 from JoshuaVandaele/std-tounderlying

c++23: Replace Common::ToUnderlying with std::to_underlying
This commit is contained in:
iwubcode
2026-01-17 16:49:57 -06:00
committed by GitHub
38 changed files with 148 additions and 167 deletions
+2 -2
View File
@@ -38,12 +38,12 @@ if (COMPILER STREQUAL "GNU")
set(COMPILER "GCC") # prefer printing GCC instead of GNU
endif()
# Enforce minimum compiler versions that support the c++20 features we use
# Enforce minimum compiler versions that support the c++23 features we use
set (GCC_min_version 11)
set (Clang_min_version 14)
set (AppleClang_min_version 14.0.3)
set (min_xcode_version "14.0") # corresponding xcode version for AppleClang_min_version
set (MSVC_min_version 14.32)
set (MSVC_min_version 19.30)
set (min_vs_version "2022 17.2.3") # corresponding Visual Studio version for MSVC_min_version
message(STATUS "Using ${COMPILER} ${CMAKE_CXX_COMPILER_VERSION}")