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

Logan Smith via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 22 10:42:06 PST 2020


logan-5 marked an inline comment as done.
logan-5 added a comment.

Thanks. In that case I'll need help committing this.



================
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
----------------
EricWF wrote:
> = delete;
What's the advantage of `= delete;`ing this function versus what I've done here?


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