Skip to content

Commit b139f04

Browse files
committed
[contents] Add special treatment for swap
1 parent 44c5220 commit b139f04

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
@@ -921,7 +921,7 @@
921921
\end{footnote}
922922

923923
\pnum
924-
Whenever an unqualified name is used
924+
Whenever an unqualified name other than \tcode{swap} is used
925925
in the specification of a declaration \tcode{D}
926926
in \ref{\firstlibchapter} through \ref{\lastlibchapter} or \ref{depr},
927927
its meaning is established
@@ -940,6 +940,9 @@
940940
Operators in expressions\iref{over.match.oper} are not so constrained;
941941
see \ref{global.functions}.
942942
\end{note}
943+
The meaning of the unqualified name \tcode{swap} is established
944+
in an overload resolution context
945+
for swappable values\iref{swappable.requirements}.
943946

944947
\rSec3[headers]{Headers}
945948

0 commit comments

Comments
 (0)