This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.
swap
overloads for regex
Section: 32.3 [re.syn] Status: NAD Submitter: Howard Hinnant Opened: 2009-11-12 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [re.syn].
View all issues with NAD status.
Discussion:
Addresses: UK 314
In Message c++std-lib-25529, Alisdair writes:
UK comment 314 requests rvalue swap overloads in a couple of places they were missed.
We have in general reverted to the single swap signature taking lvalue references, which could be seen as the alternative solution to UK 314, bringing consistency to the standard <g>
Either way, I no longer expect to see any work to resolve this comment - the work is complete and it should be either marked Rejected, or Accepted with Modifications (namely, removing all other rvalue swaps!)
[ Moved to Tentatively NAD after 5 positive votes on c++std-lib. ]
Proposed resolution:
Rationale:
We have in general reverted to the single swap signature taking lvalue references, which could be seen as the alternative solution to UK 314, bringing consistency to the standard.