gcc/libstdc++-v3/include/bits
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
..
allocator.h sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. 2006-01-04 11:34:45 +00:00
atomicity.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
basic_ios.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
basic_ios.tcc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
basic_string.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
basic_string.tcc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
boost_concept_check.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
c++config c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
char_traits.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
codecvt.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
concept_check.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
concurrence.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
cpp_type_traits.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
deque.tcc stl_deque.h (deque<>::resize, [...]): Avoid troubles with ADL, user defined operators and _Deque_iterator. 2005-12-20 00:29:18 +00:00
fstream.tcc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
functexcept.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
gslice_array.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
gslice.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
indirect_array.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
ios_base.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
istream.tcc re PR libstdc++/24645 (Commonize arithmetic inserters/extractors bodies) 2006-01-02 09:57:49 +00:00
list.tcc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
locale_classes.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
locale_facets.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
locale_facets.tcc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
localefwd.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
mask_array.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
ostream.tcc re PR libstdc++/24645 (Commonize arithmetic inserters/extractors bodies) 2006-01-02 09:57:49 +00:00
postypes.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
slice_array.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
sstream.tcc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_algo.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_algobase.h stl_algobase.h (fill(const _Deque_iterator&, const _Deque_iterator&, const _Tp&)): Deal, correctly, only with iterators (leave const_iterators alone). 2005-12-24 10:01:45 +00:00
stl_bvector.h stl_bvector.h (vector<bool>::erase(iterator, iterator)): Just use _M_erase_at_end. 2006-01-06 11:23:02 +00:00
stl_construct.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_deque.h sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. 2006-01-04 11:34:45 +00:00
stl_function.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_heap.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_iterator_base_funcs.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_iterator_base_types.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_iterator.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_list.h sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. 2006-01-04 11:34:45 +00:00
stl_map.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_multimap.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_multiset.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_numeric.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_pair.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_queue.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_raw_storage_iter.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_relops.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_set.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_stack.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_tempbuf.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_tree.h sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. 2006-01-04 11:34:45 +00:00
stl_uninitialized.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stl_vector.h sso_string_base.h (__sso_string_base<>::_M_dataplus): Use _CharT_alloc_type as base class. 2006-01-04 11:34:45 +00:00
stream_iterator.h mt_allocator.h (__mt_alloc::__mt_alloc): Remove name of unused parameter. 2005-12-26 10:53:42 +00:00
streambuf_iterator.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
streambuf.tcc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stringfwd.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
valarray_after.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
valarray_array.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
valarray_array.tcc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
valarray_before.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
vector.tcc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00