[all-commits] [llvm/llvm-project] 261529: [libc++] Fix multi{map, set}::extract not returning...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Mon Jun 1 00:20:18 PDT 2026


  Branch: refs/heads/release/22.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 2615295c15bab420d8134aff473c098a48403d42
      https://github.com/llvm/llvm-project/commit/2615295c15bab420d8134aff473c098a48403d42
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2026-06-01 (Mon, 01 Jun 2026)

  Changed paths:
    M libcxx/include/__tree
    M libcxx/test/std/containers/associative/multimap/multimap.modifiers/extract_key.pass.cpp
    M libcxx/test/std/containers/associative/multiset/extract_key.pass.cpp

  Log Message:
  -----------
  [libc++] Fix multi{map,set}::extract not returning the first matching element (#199703)

According to [associative.reqmts] `extract(k)` returns the _first_
element in the container with key equivalent to k.

(cherry picked from commit 72871f6fa1f1edc3df45d01b67f5093ff9d8e8b5)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list