File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change 4583
4583
(that is, its value when evaluated as a constant expression\iref {expr.const }
4584
4584
may depend on a template parameter)
4585
4585
as described in this subclause.
4586
+
4587
+ \pnum
4586
4588
In an expression of the form:
4587
4589
4588
4590
\begin {ncsimplebnf }
4619
4621
4620
4622
If an operand of an operator is a type-dependent expression, the operator
4621
4623
also denotes a dependent name.
4624
+ \begin {note }
4622
4625
Such names are unbound and
4623
4626
are looked up at the point of the template instantiation\iref {temp.point } in
4624
4627
both the context of the template definition and the
4625
- context of the point of instantiation.
4628
+ context of the point of instantiation\iref {temp.dep.candidate }.
4629
+ \end {note }
4626
4630
4627
4631
\pnum
4628
4632
\begin {example }
5317
5321
\end {example }
5318
5322
5319
5323
\rSec 2[temp.dep.res]{Dependent name resolution}
5320
-
5321
- \pnum
5322
- \indextext {name!dependent}%
5323
- In resolving dependent names, names from the following sources are considered:
5324
-
5325
- \begin {itemize }
5326
- \item
5327
- Declarations that are visible at the point of definition of the
5328
- template.
5329
- \item
5330
- Declarations from namespaces associated with the types of the
5331
- function arguments both from the instantiation context\iref {temp.point }
5332
- and from the definition context.
5333
- \end {itemize }
5334
-
5335
5324
\rSec 3[temp.point]{Point of instantiation}
5336
5325
5337
5326
\pnum
You can’t perform that action at this time.
0 commit comments