Skip to content

Commit 5c563c8

Browse files
committed
Apply LWG2418 from N4383 per LWG Motion 3 at the 2015-05 Lenexa meeting.
http://wiki.edg.com/twiki/bin/view/Wg21lenexa/StrawPolls
1 parent 6cda0a0 commit 5c563c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utilities.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ <h1>Calling a function with a <code>tuple</code> of arguments</h1>
7373
<pre><code>template &lt;class F, class Tuple, size_t... I>
7474
constexpr decltype(auto) apply_impl( // <i>exposition only</i>
7575
F&& f, Tuple&& t, index_sequence&lt;I...>) {
76-
return std::forward&lt;F>(f)(std::get&lt;I>(std::forward&lt;Tuple>(t))...);
76+
return <em>INVOKE</em>(std::forward&lt;F>(f), std::get&lt;I>(std::forward&lt;Tuple>(t))...);
7777
}</code></pre>
7878
<p>Equivalent to</p>
7979
<pre><code>return apply_impl(std::forward&lt;F>(f), std::forward&lt;Tuple>(t),

0 commit comments

Comments
 (0)