[libcxx-commits] [libcxx] libc++ test: update MinSequenceContainer.h to make some tests pass on MSVC STL (PR #140287)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Sat May 17 07:44:18 PDT 2025


================
@@ -47,6 +54,13 @@ struct MinSequenceContainer {
     return from_vector_iterator(data_.insert(to_vector_iterator(p), std::move(value)));
   }
 
+#if defined(__cpp_lib_containers_ranges) && __cpp_lib_containers_ranges >= 202202L
----------------
frederick-vs-ja wrote:

I'm not sure whether we want to use `MinSequenceContainer` with C++98 container adaptors. If so, perhaps it's better to keep the guard.

https://github.com/llvm/llvm-project/pull/140287


More information about the libcxx-commits mailing list