[PATCH] D62150: Renamed `apply` to `select` to avoid ADL conflict with `std::apply`

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 20 09:25:46 PDT 2019


gribozavr created this revision.
gribozavr added a reviewer: ilya-biryukov.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

`std::apply` in C++14 and above is defined with two unrestricted arguments, and
it wins overload resolution in this case.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62150

Files:
  clang/unittests/Tooling/RangeSelectorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62150.200313.patch
Type: text/x-patch
Size: 11121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190520/709482fd/attachment-0001.bin>


More information about the cfe-commits mailing list