[libc++] Use the same implementation of invoke for C++03 and C++11
authorNikolas Klauser <nikolasklauser@berlin.de>
Fri, 10 Jun 2022 11:38:11 +0000 (13:38 +0200)
committerNikolas Klauser <nikolasklauser@berlin.de>
Fri, 10 Jun 2022 21:18:20 +0000 (23:18 +0200)
commit6f27eb6ece324779d4d6a06b5685887afbc9465c
tree3113f0841048d893ab17b3ecad7fac5b27e0173e
parentdb68a25ca90e0da46c9c33b027fa83260073bd28
[libc++] Use the same implementation of invoke for C++03 and C++11

Reviewed By: ldionne, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D127489
libcxx/include/__functional/invoke.h
libcxx/include/__functional/mem_fn.h
libcxx/include/__functional/reference_wrapper.h
libcxx/include/__functional/weak_result_type.h