Browse Source

Replace Apply to std::apply
33b149179bec674a6b0dc48dde27b7ff0b66efe7

bulatman 7 months ago
parent
commit
78c4d20eac
1 changed files with 0 additions and 7 deletions
  1. 0 7
      util/generic/function.h

+ 0 - 7
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));
-}