|
532 | 532 |
|
533 | 533 | \pnum |
534 | 534 | A local entity\iref{basic.pre} |
535 | | -is \defn{odr-usable} in a scope\iref{basic.scope.scope} if |
| 535 | +is \defn{odr-usable} in a scope\iref{basic.scope.general} if |
536 | 536 | \begin{itemize} |
537 | 537 | \item either the local entity is not \tcode{*\keyword{this}}, or |
538 | 538 | an enclosing class or non-lambda function parameter scope exists and, |
539 | 539 | if the innermost such scope is a function parameter scope, |
540 | 540 | it corresponds to a non-static member function, and |
541 | 541 | \item |
542 | | -for each intervening scope\iref{basic.scope.scope} |
| 542 | +for each intervening scope\iref{basic.scope.general} |
543 | 543 | between the point at which the entity is introduced and the scope |
544 | 544 | (where \tcode{*\keyword{this}} is considered to be introduced |
545 | 545 | within the innermost enclosing class or non-lambda function definition scope), |
|
873 | 873 | \rSec1[basic.scope]{Scope}% |
874 | 874 | \indextext{scope|(} |
875 | 875 |
|
876 | | -\rSec2[basic.scope.scope]{General} |
| 876 | +\rSec2[basic.scope.general]{General} |
877 | 877 |
|
878 | 878 | \pnum |
879 | 879 | The declarations in a program appear in a number of \defnx{scopes}{scope} |
|
1725 | 1725 | conversion function templates that are members of $T$ are considered. |
1726 | 1726 | For each such template $F$, the lookup set $S(t,T)$ is constructed, |
1727 | 1727 | considering a function template declaration to have the name $t$ |
1728 | | -only if it corresponds to a declaration of $F$\iref{basic.scope.scope}. |
| 1728 | +only if it corresponds to a declaration of $F$\iref{basic.scope.general}. |
1729 | 1729 | The members of the declaration set of each such lookup set, |
1730 | 1730 | which shall not be an invalid set, are included in the result. |
1731 | 1731 | \begin{note} |
|
2846 | 2846 | Two declarations of entities declare the same entity |
2847 | 2847 | if, considering declarations of unnamed types to introduce their names |
2848 | 2848 | for linkage purposes, if any\iref{dcl.typedef,dcl.enum}, |
2849 | | -they correspond\iref{basic.scope.scope}, |
| 2849 | +they correspond\iref{basic.scope.general}, |
2850 | 2850 | have the same target scope that is not a function or template parameter scope, |
2851 | 2851 | neither is a name-independent declaration, |
2852 | 2852 | and either |
|
0 commit comments