gcc/libstdc++-v3/include
Paolo Carlini fd09ac0cf7 stl_bvector.h (vector<bool>::erase(iterator, iterator)): Just use _M_erase_at_end.
2006-01-06  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_bvector.h (vector<bool>::erase(iterator,
	iterator)): Just use _M_erase_at_end.

2006-01-06  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_bvector.h (class vector<bool>): Move all the
	helpers under protected access mode, consistently with the primary
	vector template.
	(vector<bool>::_M_erase_at_end): Add.
	(erase(iterator, iterator), clear, resize, _M_fill_assign,
	_M_assign_aux): Use it.
	* testsuite/23_containers/vector/bool/modifiers/erase/1.cc: New.

2006-01-06  Paolo Carlini  <pcarlini@suse.de>

	Implement Option 3 of DR 431 for vector<bool>.
	* include/bits/stl_bvector.h (class _Bvector_base): Change to
	a struct, consistently with the primary vector template.
	(class vector<bool>): Adjust to protected inheritance, tidy
	typedefs.
	(_Bvector_base<>::_M_get_Bit_allocator): Add.
	(vector<bool>::vector(const vector&)): Use it.
	(_Bvector_base<>::get_allocator): Tidy.
	(vector<bool>::swap): Use __alloc_swap.
	* testsuite/23_containers/vector/bool/modifiers/swap/1.cc: New.
	* testsuite/23_containers/vector/bool/modifiers/swap/2.cc: New.

From-SVN: r109415
2006-01-06 11:23:02 +00:00
..
backward c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
bits stl_bvector.h (vector<bool>::erase(iterator, iterator)): Just use _M_erase_at_end. 2006-01-06 11:23:02 +00:00
c All files: Update FSF address. 2005-08-17 02:28:44 +00:00
c_compatibility All files: Update FSF address. 2005-08-17 02:28:44 +00:00
c_std c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
debug mt_allocator.h (__mt_alloc::__mt_alloc): Remove name of unused parameter. 2005-12-26 10:53:42 +00:00
ext sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. 2006-01-04 11:34:45 +00:00
std re PR libstdc++/24645 (Commonize arithmetic inserters/extractors bodies) 2006-01-02 09:57:49 +00:00
tr1 sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. 2006-01-04 11:34:45 +00:00
Makefile.am c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
Makefile.in c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stdc++.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00