[libcxx-commits] [libcxx] [libc++] Fix insertion into `deque` from prvalue ranges (PR #160022)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 22 02:03:14 PDT 2025


================
@@ -1202,10 +1203,10 @@ private:
   template <class _Iterator>
   _LIBCPP_HIDE_FROM_ABI iterator __insert_with_size(const_iterator __p, _Iterator __f, size_type __n);
 
-  template <class _BiIter, class _Sentinel>
+  template <class _IterOpsPolicy, class _BiIter, class _Sentinel>
----------------
philnik777 wrote:

```suggestion
  template <class _AlgPolicy, class _BiIter, class _Sentinel>
```
I think the name is close enough to being correct here for it to make sense to keep the original naming scheme. Throughout.

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


More information about the libcxx-commits mailing list