]> granicus.if.org Git - clang/commit
Renamed `apply` to `select` to avoid ADL conflict with `std::apply`
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 20 May 2019 16:30:49 +0000 (16:30 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 20 May 2019 16:30:49 +0000 (16:30 +0000)
commit61603736e7c9092e0df68d4dd8c87f33eb2e603d
tree4e407b0402cf1156ddc033e152068392ce3a9dcc
parent625704901315d46151fbf48c7b4b9c9a5ff33221
Renamed `apply` to `select` to avoid ADL conflict with `std::apply`

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

Reviewers: ilya-biryukov

Subscribers: cfe-commits, ymandel

Tags: #clang

Differential Revision: https://reviews.llvm.org/D62150

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361170 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Tooling/RangeSelectorTest.cpp