[libcxx-commits] [PATCH] D72640: [libcxx] Qualify make_pair in searcher implementations to prevent ADL

Eric Fiselier via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 17 12:18:39 PST 2020


EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.

I don't know that you needed to duplicate all the tests, but this works for me.

LGTM.



================
Comment at: libcxx/test/std/utilities/function.objects/func.search/func.search.bmh/pred.pass.cpp:70
+template <class T, class U>
+void make_pair(T&&, U&&) {}
+} // namespace User
----------------
= delete;


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72640/new/

https://reviews.llvm.org/D72640





More information about the libcxx-commits mailing list