Title
Array swap needs to be conceptualized
Status
nad concepts
Section
[alg.swap]
Submitter
Daniel Krügler

Created on 2008-10-01.00:00:00 last changed 166 months ago

Messages

Date: 2011-03-05.21:44:45

Proposed resolution:

Replace in [alg.swap] before p. 3 until p. 4 by

template <class ValueType T, size_t N>
requires Swappable<T>
void swap(T (&a)[N], T (&b)[N]);

Requires: T shall be Swappable.

Effects: swap_ranges(a, a + N, b);

Date: 2011-03-05.21:44:45

[ Batavia (2009-05): ]

Move to NAD; the changes have already been made.

Date: 2011-03-05.21:44:45

[ Post Summit Daniel adds: ]

Recommend as NAD Editorial: The changes have already been applied to the WP N2800.

Date: 2008-10-01.00:00:00

With the adaption of 809 we have a new algorithm swap for C-arrays, which needs to be conceptualized.

History
Date User Action Args
2011-03-05 21:44:45adminsetmessages: + msg5595
2011-03-05 21:44:45adminsetmessages: + msg5594
2011-03-05 21:44:45adminsetmessages: + msg5593
2008-10-01 00:00:00admincreate