[webkit-changes] [WebKit/WebKit] 8f9df9: [WTF] Switch to variadic templates for HashSet and...

AtariDreams noreply at github.com
Fri Nov 3 16:15:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8f9df93cc584eff8ace88356caca049dbd29d876
      https://github.com/WebKit/WebKit/commit/8f9df93cc584eff8ace88356caca049dbd29d876
  Author: Rose <83477269+AtariDreams at users.noreply.github.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M Source/WTF/wtf/HashFunctions.h
    M Source/WTF/wtf/HashTraits.h

  Log Message:
  -----------
  [WTF] Switch to variadic templates for HashSet and HashMap
https://bugs.webkit.org/show_bug.cgi?id=264101

Now that we are using C++20, we can use C++17 variadic templates and
resolve the FIXMEs pertaining to that in HashSet and HashMap.

Reviewed by Alex Christensen.

* Source/WTF/wtf/HashFunctions.h: Use variadic templates.
(WTF::TupleHash::allTrue): Deleted.
* Source/WTF/wtf/HashTraits.h: Use variadic templates.
(WTF::TupleHashTraits::allTrue): Deleted.

Canonical link: https://commits.webkit.org/270214@main




More information about the webkit-changes mailing list