[libcxx-commits] [PATCH] D150081: [libc++] Make a few standard types trivially equality comparable

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun May 7 18:40:10 PDT 2023


philnik created this revision.
philnik added a reviewer: ldionne.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

This allows `std::equal` and other algorithms be optimized better.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150081

Files:
  libcxx/include/__exception/exception_ptr.h
  libcxx/include/__expected/unexpected.h
  libcxx/include/__iterator/wrap_iter.h
  libcxx/include/__utility/pair.h
  libcxx/include/array
  libcxx/include/complex
  libcxx/include/forward_list
  libcxx/include/list
  libcxx/include/tuple
  libcxx/test/libcxx/types_are_trivially_equality_comparable.compile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150081.520234.patch
Type: text/x-patch
Size: 9016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230508/0725018b/attachment.bin>


More information about the libcxx-commits mailing list