It says in C++ 3.3.7.2 [basic.scope.class]
A name
N
used in a classS
shall refer to the same declaration in its context and when re-evaluated in the completed scope ofS
.
What is an example of a translation unit where a name N
used in a class S
refers to a different declaration in its context than when it is re-evaluated in the completed scope of S
?