[libcxx-commits] [PATCH] D117917: [libc++] Use addressof in unordered_set.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 21 12:01:46 PST 2022


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

This addresses the usage of `operator&` in `<unordered_set>`.

(Note there are still more headers with the same issue.)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117917

Files:
  libcxx/include/unordered_set
  libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move.addressof.compile.pass.cpp
  libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/move_alloc.addressof.compile.pass.cpp
  libcxx/test/std/containers/unord/unord.set/emplace_hint.addressof.compile.pass.cpp
  libcxx/test/std/containers/unord/unord.set/insert_hint_const_lvalue.addressof.compile.pass.cpp
  libcxx/test/std/containers/unord/unord.set/insert_hint_rvalue.addressof.compile.pass.cpp
  libcxx/test/std/containers/unord/unord.set/iterator.operators.addressof.compile.pass.cpp
  libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/move.addressof.compile.pass.cpp
  libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/move_alloc.addressof.compile.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117917.402062.patch
Type: text/x-patch
Size: 13202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220121/4f6e02d1/attachment.bin>


More information about the libcxx-commits mailing list