diff options
| author | robot-piglet <[email protected]> | 2025-05-17 21:05:35 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2025-05-17 21:19:29 +0300 |
| commit | 335bf09eb7265754e9e0fa0cbeebddcefae1336d (patch) | |
| tree | 2b6ac92f720719bcbccb4309915339b27c6835eb /contrib/libs/cxxsupp/libcxxmsvc/include | |
| parent | 710a180b80273e751cff65c30327d82546413a80 (diff) | |
Intermediate changes
commit_hash:c792028cbc20db1585caee3fa3bd0228e9015954
Diffstat (limited to 'contrib/libs/cxxsupp/libcxxmsvc/include')
| -rw-r--r-- | contrib/libs/cxxsupp/libcxxmsvc/include/initializer_list | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/libs/cxxsupp/libcxxmsvc/include/initializer_list b/contrib/libs/cxxsupp/libcxxmsvc/include/initializer_list index f5175993b0d..39d6e2d4a67 100644 --- a/contrib/libs/cxxsupp/libcxxmsvc/include/initializer_list +++ b/contrib/libs/cxxsupp/libcxxmsvc/include/initializer_list @@ -47,13 +47,15 @@ template<class E> const E* end(initializer_list<E> il) noexcept; // constexpr in #if defined(_LIBCPP_COMPILER_MSVC) && !defined(__clang__) -// save __cpp_lib_concepts and __cpp_lib_ranges because they can be redefined inside MSVC standard headers +// save these macros because they can be redefined inside MSVC standard headers #pragma push_macro("__cpp_lib_concepts") +#pragma push_macro("__cpp_lib_memory_resource") #pragma push_macro("__cpp_lib_ranges") #include Y_MSVC_INCLUDE_NEXT(yvals.h) #pragma pop_macro("__cpp_lib_concepts") +#pragma pop_macro("__cpp_lib_memory_resource") #pragma pop_macro("__cpp_lib_ranges") #include Y_MSVC_INCLUDE_NEXT(initializer_list) |
