1284. vector<bool> initializer_list constructor missing an allocator argument

Section: 24.3.12 [vector.bool] Status: C++11 Submitter: Bo Persson Opened: 2009-12-09 Last modified: 2016-01-28 10:19:27 UTC

Priority: Not Prioritized

View other active issues in [vector.bool].

View all other issues in [vector.bool].

View all issues with C++11 status.


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


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

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

Proposed resolution:

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

vector(initializer_list<bool>, const Allocator& = Allocator());