[all-commits] [llvm/llvm-project] eccd81: [libc++] Simplify the implementation of std::hash ...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Mon Jun 9 21:33:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eccd81f20ba34f9aee41d672e0d7ac6028191b40
      https://github.com/llvm/llvm-project/commit/eccd81f20ba34f9aee41d672e0d7ac6028191b40
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-06-10 (Tue, 10 Jun 2025)

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

  Log Message:
  -----------
  [libc++] Simplify the implementation of std::hash (#140407)

Instead of providing full specializations of `hash` for every arithmetic
type, this moves the implementation to a base class, which is
specialized via `enable_if`s instead.



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