- std::reference_wrapper
- std::function
- std::mem_fn
While I'm here, remove _VSTD:: qualification from calls to declval because it takes no arguments and thus isn't susceptible to ADL.
Details
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rG3c8e31e17b85: [libc++] ADL-proof <functional> by adding _VSTD:: qualification on calls.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
The GCC test failure is interesting. I just filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98249 about it, and will wait to see what develops.