mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 17:10:35 +00:00
core: mark apply() inline
This commit is contained in:
@@ -36,6 +36,7 @@ struct apply_helper<Func, std::tuple<T...>, std::index_sequence<I...>> {
|
||||
};
|
||||
|
||||
template <typename Func, typename... T>
|
||||
inline
|
||||
auto apply(Func func, std::tuple<T...>&& args) {
|
||||
using helper = apply_helper<Func, std::tuple<T...>, std::index_sequence_for<T...>>;
|
||||
return helper::apply(std::move(func), std::move(args));
|
||||
|
||||
Reference in New Issue
Block a user