Skip to content

Commit 18827e1

Browse files
committed
CWG2608 Omitting an empty template argument list
1 parent 5d20bd6 commit 18827e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/templates.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6830,7 +6830,9 @@
68306830
A trailing template parameter pack\iref{temp.variadic} not otherwise deduced will be
68316831
deduced as an empty sequence of template arguments.
68326832
\end{note}
6833-
If all of the template arguments can be deduced, they may all be omitted;
6833+
If all of the template arguments can be
6834+
deduced or obtained from default \grammarterm{template-argument}{s},
6835+
they may all be omitted;
68346836
in this case, the empty template argument list \tcode{<>}
68356837
itself may also be omitted.
68366838
\begin{example}

0 commit comments

Comments
 (0)