Skip to content

[utility.swap] Specify which two locations' values are swapped#9177

Open
Quuxplusone wants to merge 1 commit into
cplusplus:mainfrom
Quuxplusone:swaps-a-and-b.topic
Open

[utility.swap] Specify which two locations' values are swapped#9177
Quuxplusone wants to merge 1 commit into
cplusplus:mainfrom
Quuxplusone:swaps-a-and-b.topic

Conversation

@Quuxplusone

@Quuxplusone Quuxplusone commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

LWG4056 is related; it was resolved NAD. But that simply means the clarification must be an editorial issue. So here's the edit.

Historical note: This exact change was suggested during LEWG discussion of P3055R1 in telecon, way back in March 2024. That paper didn't go anywhere, but this specific editorial change seems to me to have all up-side and no down-side.

Ah, further history: Adding the word "the" makes the phrase "exchanges the values" into words of power; that's defined in concept.swappable. That came up in the LWG prioritization thread for LWG4056.

LWG4056 is related; it was resolved NAD. But that simply means
the clarification must be an editorial issue. So here's the edit.
@frederick-vs-ja

Copy link
Copy Markdown
Contributor

Oh, currently this is an exact duplicate of #6857. @jwakely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants