From aa32352df96bb7f8bfadd32518926d5f03b64d00 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Sun, 4 Jul 2021 23:30:42 +0200 Subject: [PATCH] [contents] Add special lookup treatment for swap --- source/lib-intro.tex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/lib-intro.tex b/source/lib-intro.tex index 87bf68e065..5a7d9dcae5 100644 --- a/source/lib-intro.tex +++ b/source/lib-intro.tex @@ -927,7 +927,7 @@ \end{footnote} \pnum -Whenever an unqualified name is used +Whenever an unqualified name other than \tcode{swap} is used in the specification of a declaration \tcode{D} in \ref{\firstlibchapter} through \ref{\lastlibchapter} or \ref{depr}, its meaning is established @@ -946,6 +946,9 @@ Operators in expressions\iref{over.match.oper} are not so constrained; see \ref{global.functions}. \end{note} +The meaning of the unqualified name \tcode{swap} is established +in an overload resolution context +for swappable values\iref{swappable.requirements}. \rSec3[headers]{Headers}