From 86b89e3b861dd67d5f998ae6d299f1ef553135e5 Mon Sep 17 00:00:00 2001 From: Abhinav Agarwal Date: Tue, 16 Jun 2026 21:14:34 -0700 Subject: [PATCH] [func.wrap.ref.ctor] Restore class T in constant_wrapper constructor head The out-of-line declaration of the function_ref constructor taking a constant_wrapper and a cv T* object pointer is headed with only template, but its function parameter (cv T* obj) and Constraints element (is-invocable-using) both name T, which is then undeclared. The class synopsis in [func.wrap.ref.class] already declares it as template. Restore class T to the out-of-line head so it matches the synopsis. --- source/utilities.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utilities.tex b/source/utilities.tex index f3e66eb429..02e3e7b7a6 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -15804,7 +15804,7 @@ \indexlibraryctor{function_ref}% \begin{itemdecl} -template +template constexpr function_ref(constant_wrapper f, @\cv{}@ T* obj) noexcept; \end{itemdecl}