Skip to content

Commit f3ab334

Browse files
jensmaurertkoeppe
authored andcommitted
[contents] Add special lookup treatment for swap
1 parent c8d22d4 commit f3ab334

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/lib-intro.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@
927927
\end{footnote}
928928

929929
\pnum
930-
Whenever an unqualified name is used
930+
Whenever an unqualified name other than \tcode{swap} is used
931931
in the specification of a declaration \tcode{D}
932932
in \ref{\firstlibchapter} through \ref{\lastlibchapter} or \ref{depr},
933933
its meaning is established
@@ -946,6 +946,9 @@
946946
Operators in expressions\iref{over.match.oper} are not so constrained;
947947
see \ref{global.functions}.
948948
\end{note}
949+
The meaning of the unqualified name \tcode{swap} is established
950+
in an overload resolution context
951+
for swappable values\iref{swappable.requirements}.
949952

950953
\rSec3[headers]{Headers}
951954

0 commit comments

Comments
 (0)