Topic: N3000 Defect - vector<bool> initializer_list constructor missing an allocator argument
Author: "Bo Persson" <bop@gmb.dk>
Date: Wed, 9 Dec 2009 17:13:14 CST Raw View
The specialization for vector<bool> (23.3.7 [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.
Proposed resolution:
Change the signature to
vector(initializer_list<bool>, const Allocator& = Allocator());
--
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]