This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD Concepts status.
Section: 28.6.3 [alg.swap] Status: NAD Concepts Submitter: Daniel Krügler Opened: 2008-10-01 Last modified: 2017-02-03
Priority: Not Prioritized
View all other issues in [alg.swap].
View all issues with NAD Concepts status.
With the adaption of 809 we have a new algorithm swap for C-arrays, which needs to be conceptualized.
[ Post Summit Daniel adds: ]
Recommend as NAD Editorial: The changes have already been applied to the WP N2800.
[ Batavia (2009-05): ]
Move to NAD; the changes have already been made.
Replace in 28.6.3 [alg.swap] before p. 3 until p. 4 by
classT, size_t N> void swap(T (&a)[N], T (&b)[N]);
Requires: T shall be Swappable.
Effects: swap_ranges(a, a + N, b);