Title
vector<bool> initializer_list constructor missing an allocator argument
Status
c++11
Section
[vector.bool]
Submitter
Bo Persson

Created on 2009-12-09.00:00:00 last changed 154 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change the signature in the synopsis of [vector.bool] to

vector(initializer_list<bool>, const Allocator& = Allocator());
Date: 2009-12-16.00:00:00

[ 2009-12-16 Moved to Tentatively Ready after 5 positive votes on c++std-lib. ]

Date: 2009-12-09.00:00:00

The specialization for vector<bool> ([vector.bool]) has a constructor

vector(initializer_list<bool>);

which differs from the base template's constructor (and other containers) in that it has no allocator parameter.

History
Date User Action Args
2011-08-23 20:07:26adminsetstatus: wp -> c++11
2010-10-21 18:28:33adminsetmessages: + msg1448
2010-10-21 18:28:33adminsetmessages: + msg1447
2009-12-09 00:00:00admincreate