[all-commits] [llvm/llvm-project] 8d63e8: [libc++] Avoid including pair in <__functional/has...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Thu Feb 12 02:27:39 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d63e8995b91c707dee41983f0feac8dddc4817e
      https://github.com/llvm/llvm-project/commit/8d63e8995b91c707dee41983f0feac8dddc4817e
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M libcxx/include/__functional/hash.h

  Log Message:
  -----------
  [libc++] Avoid including pair in <__functional/hash.h> (#179635)

We already have `_PairT`, which is just a pair of two `size_t`s, so we
might as well use that throughout the file. This avoids the `pair`
include altogether, reducing header parse times a bit in some cases.



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