Skip to content

Commit c7ad72a

Browse files
tkoeppezygoloid
authored andcommitted
CWG2339 Underspecified template arguments in structured bindings
1 parent b238a71 commit c7ad72a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/declarators.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2315,7 +2315,10 @@
23152315
and
23162316
the number of elements in
23172317
the \grammarterm{identifier-list} shall be equal to the value of that
2318-
expression. The \grammarterm{unqualified-id} \tcode{get} is looked up
2318+
expression.
2319+
Let \tcode{i} be an index prvalue of type \tcode{std::size_t}
2320+
corresponding to $\tcode{v}_\tcode{i}$.
2321+
The \grammarterm{unqualified-id} \tcode{get} is looked up
23192322
in the scope of \tcode{E} by class member access lookup\iref{basic.lookup.classref},
23202323
and if that finds at least one declaration
23212324
that is a function template whose first template parameter

0 commit comments

Comments
 (0)