[libcxx-commits] [libcxx] [libc++] Optimize multi{map, set}::insert(InputIterator, InputIterator) (PR #152691)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 14 01:02:01 PDT 2025


================
@@ -970,6 +970,36 @@ public:
     __emplace_hint_multi(__p, std::move(__value));
   }
 
+  template <class _InIter, class _Sent>
+  _LIBCPP_HIDE_FROM_ABI void __insert_range_multi(_InIter __first, _Sent __last) {
----------------
philnik777 wrote:

What sort of documentation do you want? I'm not sure there is much to say beyond "inserts the range [first, last) into *this", which I think is rather obvious.

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


More information about the libcxx-commits mailing list