We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cda0a0 commit 5c563c8Copy full SHA for 5c563c8
utilities.html
@@ -73,7 +73,7 @@ <h1>Calling a function with a <code>tuple</code> of arguments</h1>
73
<pre><code>template <class F, class Tuple, size_t... I>
74
constexpr decltype(auto) apply_impl( // <i>exposition only</i>
75
F&& f, Tuple&& t, index_sequence<I...>) {
76
- return std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...);
+ return <em>INVOKE</em>(std::forward<F>(f), std::get<I>(std::forward<Tuple>(t))...);
77
}</code></pre>
78
<p>Equivalent to</p>
79
<pre><code>return apply_impl(std::forward<F>(f), std::forward<Tuple>(t),
0 commit comments