Title
vector<bool>::swap(reference, reference) not defined
Status
c++11
Section
[vector.bool]
Submitter
Alisdair Meredith

Created on 2008-03-17.00:00:00 last changed 161 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Just after [vector.bool]/5 add the following prototype and description:

static void swap(reference x, reference y);

-6- Effects: Exchanges the contents of x and y as-if by:


bool b = x;
x = y;
y = b;
Date: 2010-10-21.18:28:33

[ Batavia (2009-05): ]

We agree with the proposed resolution. Move to Tentatively Ready.

Date: 2010-10-21.18:28:33

[ Post Summit Daniel provided wording. ]

Date: 2010-10-21.18:28:33

[ San Francisco: ]

Move to Open. Alisdair to provide a resolution.

Date: 2008-03-17.00:00:00

vector<bool>::swap(reference, reference) has no definition.

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-10-21 18:28:33adminsetmessages: + msg3869
2010-10-21 18:28:33adminsetmessages: + msg3868
2010-10-21 18:28:33adminsetmessages: + msg3867
2010-10-21 18:28:33adminsetmessages: + msg3866
2008-03-17 00:00:00admincreate