Skip to content

Commit 883e519

Browse files
committed
[allocator.requirements.general] Remove redundant template syntax
In the Cpp17Allocator requirements, all identifiers name specific types, not type-dependent code in a template, even if they are template instantiations. Hence, all use of `::template` is redundant. Not in the sense of we are awaiting LWG to review P2150 for policy, but in the sense these have been redundant since C++11, and were outright ill-formed prior to that.
1 parent eb9872a commit 883e519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/lib-intro.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2234,7 +2234,7 @@
22342234
\end{itemdescr}
22352235

22362236
\begin{itemdecl}
2237-
typename X::template rebind<U>::other
2237+
typename X::rebind<U>::other
22382238
\end{itemdecl}
22392239

22402240
\begin{itemdescr}

0 commit comments

Comments
 (0)