aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorbulatman <bulatman@yandex-team.com>2024-08-09 11:31:15 +0300
committerbulatman <bulatman@yandex-team.com>2024-08-09 11:57:12 +0300
commit78c4d20eac6e3aab153b9cb3078049de7a629a9c (patch)
tree5fe59cfd07685283949cd2921ee6e281fd506736 /util
parent62ccfdc1ce4ac9894be1609fb76b7fc9d51df018 (diff)
downloadydb-78c4d20eac6e3aab153b9cb3078049de7a629a9c.tar.gz
Replace Apply to std::apply
33b149179bec674a6b0dc48dde27b7ff0b66efe7
Diffstat (limited to 'util')
-rw-r--r--util/generic/function.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/util/generic/function.h b/util/generic/function.h
index 0ad42b40b6..303bf6504a 100644
--- a/util/generic/function.h
+++ b/util/generic/function.h
@@ -97,10 +97,3 @@ struct TFunctionArgImpl {
template <typename C, size_t N>
using TFunctionArg = typename TFunctionArgImpl<C, N>::TResult;
-
-// temporary before std::apply appearance
-
-template <typename F, typename Tuple>
-constexpr decltype(auto) Apply(F&& f, Tuple&& t) {
- return std::apply(std::forward<F>(f), std::forward<Tuple>(t));
-}