[all-commits] [llvm/llvm-project] afcf76: [libc++] Fix insert() calling incorrect constructo...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Thu Jul 10 00:24:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: afcf76bda18c09cffd88cb562768385f97ebf894
      https://github.com/llvm/llvm-project/commit/afcf76bda18c09cffd88cb562768385f97ebf894
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M libcxx/include/__hash_table
    M libcxx/include/__tree
    M libcxx/include/ext/hash_map
    M libcxx/include/ext/hash_set
    M libcxx/include/map
    M libcxx/include/set
    M libcxx/include/unordered_map
    M libcxx/include/unordered_set
    M libcxx/test/std/containers/map_allocator_requirement_test_templates.h
    M libcxx/test/std/containers/set_allocator_requirement_test_templates.h

  Log Message:
  -----------
  [libc++] Fix insert() calling incorrect constructors (#146231)

This fixes `insert()` calling the wrong `allocator_traits::construct` in
the associative containers by removing the special handling that lead to
the inconsistencty inside `__tree` and `__hash_table`.



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