File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2350
2350
the \grammarterm {identifier-list} shall be equal to the value of that
2351
2351
expression. The \grammarterm {unqualified-id} \tcode {get} is looked up
2352
2352
in the scope of \tcode {E} by class member access lookup\iref {basic.lookup.classref },
2353
- and if that finds at least one declaration, the initializer is
2353
+ and if that finds at least one declaration
2354
+ that is a function template whose first template parameter
2355
+ is a non-type parameter,
2356
+ the initializer is
2354
2357
\tcode {e.get<i>()}. Otherwise, the initializer is \tcode {get<i>(e)},
2355
2358
where \tcode {get} is looked up in the associated namespaces\iref {basic.lookup.argdep }.
2356
2359
In either case, \tcode {get<i>} is interpreted as a \grammarterm {template-id}.
You can’t perform that action at this time.
0 commit comments