[all-commits] [llvm/llvm-project] b25d36: [libc++] Extend is_trivially_equality_comparable t...

philnik777 via All-commits all-commits at lists.llvm.org
Wed Nov 15 14:40:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b25d36c3abae945788b881defc7eff4fdb46e3a2
      https://github.com/llvm/llvm-project/commit/b25d36c3abae945788b881defc7eff4fdb46e3a2
  Author: philnik777 <nikolasklauser at berlin.de>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    M libcxx/include/__type_traits/is_equality_comparable.h
    M libcxx/test/libcxx/type_traits/is_trivially_comparable.compile.pass.cpp
    M libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/equal.pass.cpp

  Log Message:
  -----------
  [libc++] Extend is_trivially_equality_comparable to integral types with the same signedness and size (#70344)

This enables all optimizations that rely on
`is_trivially_equality_comparable` to work with these integral types,
for example `std::equal` and `std::find`.




More information about the All-commits mailing list