aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/tuple
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2022-04-06 23:10:21 +0200
committerNikolas Klauser <nikolasklauser@berlin.de>2022-04-07 13:56:11 +0200
commit1b9c5f60aabdfd59096fb66b2bff55b7e71e1c5f (patch)
treecc367e2f00dbc078e9e1c265b9b5389c36157442 /libcxx/include/tuple
parent82d0f7bdb5b542118f54aa03fac52e7a8f776123 (diff)
downloadllvm-1b9c5f60aabdfd59096fb66b2bff55b7e71e1c5f.zip
llvm-1b9c5f60aabdfd59096fb66b2bff55b7e71e1c5f.tar.gz
llvm-1b9c5f60aabdfd59096fb66b2bff55b7e71e1c5f.tar.bz2
[libc++] Remove redundant __invoke_constexpr functions
There are `constexpr` versions for the different `__invoke` functions, which seem to be identical other than begin `constexpr` since C++11 instead of being `constexpr` since C++20. Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D123003
Diffstat (limited to 'libcxx/include/tuple')
-rw-r--r--libcxx/include/tuple2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/tuple b/libcxx/include/tuple
index 0a62578..76297dd 100644
--- a/libcxx/include/tuple
+++ b/libcxx/include/tuple
@@ -1609,7 +1609,7 @@ inline _LIBCPP_INLINE_VISIBILITY
constexpr decltype(auto) __apply_tuple_impl(_Fn && __f, _Tuple && __t,
__tuple_indices<_Id...>)
_LIBCPP_NOEXCEPT_RETURN(
- _VSTD::__invoke_constexpr(
+ _VSTD::__invoke(
_VSTD::forward<_Fn>(__f),
_VSTD::get<_Id>(_VSTD::forward<_Tuple>(__t))...)
)