function template
std::apply
- Header
<tuple>- Draft
- [tuple.apply]
- Scope
std- cppreference
- std::apply
Synopsis
template<class F, /* implementation-defined */ Tuple>
requires is_applicable_v<F, Tuple>
constexpr apply_result_t<F, Tuple> apply(
F&& f,
Tuple&& t) noexcept(is_nothrow_applicable_v<F, Tuple>);