diff --git a/source/utilities.tex b/source/utilities.tex index 01006242d9..2dbf5e8991 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -2015,10 +2015,12 @@ \effects Given the exposition-only function: \begin{codeblock} -template -constexpr decltype(auto) @\placeholdernc{apply-impl}@(F&& f, Tuple&& t, index_sequence) { +namespace std { + template + constexpr decltype(auto) @\placeholdernc{apply-impl}@(F&& f, Tuple&& t, index_sequence) { // \expos - return @\placeholdernc{INVOKE}@(std::forward(f), std::get(std::forward(t))...); // see \ref{func.require} + return @\placeholdernc{INVOKE}@(std::forward(f), get(std::forward(t))...); // see \ref{func.require} + } } \end{codeblock} Equivalent to: @@ -2039,10 +2041,12 @@ \effects Given the exposition-only function: \begin{codeblock} -template - requires is_constructible_v(declval()))...> -constexpr T @\placeholdernc{make-from-tuple-impl}@(Tuple&& t, index_sequence) { // \expos - return T(get(std::forward(t))...); +namespace std { + template + requires is_constructible_v(declval()))...> + constexpr T @\placeholdernc{make-from-tuple-impl}@(Tuple&& t, index_sequence) { // \expos + return T(get(std::forward(t))...); + } } \end{codeblock} Equivalent to: