gcc/libstdc++-v3/include
Matthew Levine be1088fa6a re PR libstdc++/31370 (resizing bugs in std::vector<bool>)
2007-04-02  Matthew Levine  <gcc@severeweblint.org>
	    Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/31370
	* include/bits/stl_bvector.h (vector<bool>::max_size): Fix.
	(vector<bool>::_M_check_len): Add.
	* include/bits/vector.tcc (_M_fill_insert(iterator, size_type, bool),
	_M_insert_range(iterator, _ForwardIterator, _ForwardIterator,
	std::forward_iterator_tag), _M_insert_aux(iterator, bool)): Use it.
	* testsuite/23_containers/vector/bool/modifiers/insert/31370.cc: New.
	* testsuite/23_containers/vector/bool/capacity/29134.cc: Adjust.

	* include/bits/stl_vector.h (vector<>::_M_check_len): Add.
	* include/bits/vector.tcc (_M_insert_aux(iterator, const _Tp&),
	_M_fill_insert(iterator, size_type, const value_type&),
	_M_range_insert(iterator, _ForwardIterator, _ForwardIterator,
	std::forward_iterator_tag)): Use it.

Co-Authored-By: Paolo Carlini <pcarlini@suse.de>

From-SVN: r123424
2007-04-02 10:15:50 +00:00
..
backward
bits re PR libstdc++/31370 (resizing bugs in std::vector<bool>) 2007-04-02 10:15:50 +00:00
c
c_compatibility complex.h: Without __GXX_EXPERIMENTAL_CXX0X__ include_next complex.h. 2007-03-26 10:41:41 +00:00
c_global acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Add c_global. 2007-03-04 22:59:49 +00:00
c_std
debug
ext PR libstdc++/31401 (vstring bits) 2007-04-02 10:08:50 +00:00
precompiled
std PR libstdc++/28080 (final) 2007-03-11 12:03:34 +00:00
tr1 poly_laguerre.tcc: Missing s/__alpha/__alpha1, line 278. 2007-04-01 23:03:42 +02:00
Makefile.am functions_std.cc: Without C99 support, _GLIBCXX_USE_WCHAR_T not defined, so dg-require-c-std. 2007-03-22 16:43:41 +00:00
Makefile.in functions_std.cc: Without C99 support, _GLIBCXX_USE_WCHAR_T not defined, so dg-require-c-std. 2007-03-22 16:43:41 +00:00