ΒΆtemplate <typename F, typename Tuple>
decltype(auto) apply_tuple(F&& f, Tuple&& t)
template <typename F, typename Tuple>
decltype(auto) apply_tuple(F&& f, Tuple&& t)
Description
Given an input tuple (a1, a2, ..., an), pass the arguments of the tuple variadically to f as if by calling f(a1, a2, ..., an) and return the result.
Declared at: llvm/include/llvm/ADT/STLExtras.h:2074
Templates
- F
- Tuple
Parameters
- F&& f
- Tuple&& t