From: <sv...@op...> - 2025-03-02 15:05:47
|
Author: manx Date: Sun Mar 2 14:47:35 2025 New Revision: 22979 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22979 Log: [Ref] mpt/base/detect_quirks.hpp: Link <https://developercommunity.visualstudio.com/t/Iterator-Debugging-breaks-C20-constexp/10861623>. Modified: trunk/OpenMPT/src/mpt/base/detect_quirks.hpp Modified: trunk/OpenMPT/src/mpt/base/detect_quirks.hpp ============================================================================== --- trunk/OpenMPT/src/mpt/base/detect_quirks.hpp Sat Mar 1 21:03:08 2025 (r22978) +++ trunk/OpenMPT/src/mpt/base/detect_quirks.hpp Sun Mar 2 14:47:35 2025 (r22979) @@ -289,6 +289,7 @@ #if MPT_LIBCXX_MS // So, in 2025, Microsoft still ships a STL that by default is not standard-compliant with its own default Debug options. // constexpr auto foo = std::vector<int>{}; does not compile with iterator debugging enabled (i.e. in Debug builds). +// See <https://developercommunity.visualstudio.com/t/Iterator-Debugging-breaks-C20-constexp/10861623>. #if defined(_ITERATOR_DEBUG_LEVEL) #if (_ITERATOR_DEBUG_LEVEL >= 1) #ifndef MPT_LIBCXX_QUIRK_NO_CXX20_CONSTEXPR_CONTAINER |