Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2028,6 +2028,23 @@
the results of the unqualified search are
the results of an unqualified search in the parent scope of $S$, if any,
from $P$.
\begin{example}
\begin{codeblock}
namespace A {
constexpr int i = 0;
}
namespace N {
namespace B {
constexpr int i = 1;
}
using namespace B;
namespace M {
using namespace A;
static_assert(i == 1);
}
}
\end{codeblock}
\end{example}
\begin{note}
When a class scope is searched,
the scopes of its base classes are also searched\iref{class.member.lookup}.
Expand Down
Loading