Skip to content

Commit a5ebc81

Browse files
committed
Add a note that friends are not found by unqualified lookup.
1 parent 97f03e1 commit a5ebc81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/classes.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6644,6 +6644,9 @@
66446644
\begin{itemize}
66456645
\item a non-static const member of \tcode{C} having one parameter of type \tcode{const C\&}, or
66466646
\item a friend of \tcode{C} having two parameters of type \tcode{const C\&}.
6647+
\begin{note}
6648+
Such a friend is not visible to unqualified lookup\iref{namespace.memdef}.
6649+
\end{note}
66476650
\end{itemize}
66486651

66496652
\pnum

0 commit comments

Comments
 (0)