gcc/libstdc++-v3/include/bits
Paolo Carlini e03a6fb7b6 basic_string.h (_M_check): Change to return a checked __pos and take an additional const char* argument.
2004-01-21  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/basic_string.h (_M_check): Change to return
	a checked __pos and take an additional const char* argument.
	(_M_fold): Rename to _M_limit, change to return a size_type,
	corresponding to the __off limited to the actual length.
	(insert(size_type, size_type, _CharT)): Update call, call
	replace.
	(insert(iterator, _CharT)): Call replace(iterator, iterator,
	size_type, _CharT) instead.
	(erase(size_type, size_type)): Update calls.
	(replace(size_type, size_type, size_type, _CharT)): Ditto.
	(substr(size_type, size_type)): Use _M_check.
	* include/bits/basic_string.tcc (basic_string(const basic_string&,
	size_type, size_type)): Update calls.
	(basic_string(const basic_string&, size_type, size_type,
	const _Alloc&)): Ditto.
	(assign(const basic_string&, size_type, size_type)): Use the
	new _M_check and _M_limit.
	(insert(size_type, const basic_string&, size_type, size_type):
	Ditto.
	(insert(size_type, const _CharT*, size_type)): Ditto.
	(replace(size_type, size_type, const _CharT*, size_type): Ditto.
	(replace(size_type, size_type, const basic_string&,
	size_type, size_type)): Ditto.
	(append(const basic_string&)): Ditto.
	(append(const basic_string&, size_type, size_type)): Ditto.
	(copy(_CharT*, size_type, size_type)): Ditto.
	(compare(size_type, size_type, const basic_string&)): Ditto.
	(compare(size_type, size_type, const basic_string&,size_type,
	size_type)): Ditto.
	(compare(size_type, size_type, const _CharT*)): Ditto.
	(compare(size_type, size_type, const _CharT*, size_type)): Ditto.

From-SVN: r76274
2004-01-21 11:29:51 +00:00
..
allocator_traits.h re PR libstdc++/10378 ([library DR 402] cannot add object with inplace new into STL collections) 2003-12-01 15:34:07 +00:00
allocator.h re PR libstdc++/10378 ([library DR 402] cannot add object with inplace new into STL collections) 2003-12-01 15:34:07 +00:00
basic_ios.h basic_ios.h (basic_ios::setstate): Revert. 2003-12-02 02:48:51 +00:00
basic_ios.tcc re PR libstdc++/9371 (Bad exception handling in i/ostream::operator>>/<<(streambuf*)) 2003-11-27 08:14:25 +00:00
basic_string.h basic_string.h (_M_check): Change to return a checked __pos and take an additional const char* argument. 2004-01-21 11:29:51 +00:00
basic_string.tcc basic_string.h (_M_check): Change to return a checked __pos and take an additional const char* argument. 2004-01-21 11:29:51 +00:00
boost_concept_check.h
c++config Daily bump. 2004-01-21 00:16:14 +00:00
char_traits.h [multiple changes] 2003-10-16 22:37:53 +00:00
codecvt.h locale_facets.h: Correct byname facets for "C" locale. 2003-10-22 18:58:35 +00:00
concept_check.h
concurrence.h re PR libstdc++/12658 (Thread safety problems in locale::global() and locale::locale()) 2003-12-15 21:08:03 +00:00
cpp_type_traits.h
demangle.h * bits/demangle.h 2003-12-19 23:15:24 +00:00
deque.tcc [multiple changes] 2003-11-11 20:09:16 +00:00
fstream.tcc re PR libstdc++/13582 (basic_filebuf::imbue drops characters) 2004-01-11 15:17:02 +00:00
functexcept.h
gslice_array.h
gslice.h
indirect_array.h
ios_base.h 5.cc: Don't use stdc++.h.gch. 2003-12-22 20:09:23 +00:00
istream.tcc basic_ios.h (basic_ios::setstate): Revert. 2003-12-02 02:48:51 +00:00
list.tcc [multiple changes] 2004-01-07 20:55:06 +00:00
locale_classes.h re PR libstdc++/13630 (Wrong type for locale::category) 2004-01-10 10:15:35 +00:00
locale_facets.h locale_facets.h (struct __numpunct_cache): Add member _M_grouping_size, caching the length of _M_grouping. 2004-01-14 19:14:39 +00:00
locale_facets.tcc locale_facets.h (struct __numpunct_cache): Add member _M_grouping_size, caching the length of _M_grouping. 2004-01-14 19:14:39 +00:00
localefwd.h
mask_array.h
ostream.tcc basic_ios.h (basic_ios::setstate): Revert. 2003-12-02 02:48:51 +00:00
postypes.h re PR libstdc++/13189 (<ext/enc_filebuf.h> fails to compile) 2003-12-05 06:54:24 +00:00
slice_array.h
sstream.tcc re PR libstdc++/13189 (<ext/enc_filebuf.h> fails to compile) 2003-12-05 06:54:24 +00:00
stl_algo.h re PR libstdc++/13284 (126 g++ failures due to lrand48 not defined) 2003-12-04 19:37:21 +00:00
stl_algobase.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_bvector.h stl_bvector.h (_Bvector_alloc_base): Eliminate. 2003-12-23 00:09:26 +00:00
stl_construct.h C++STYLE: Add exception bits. 2003-12-01 18:48:24 +00:00
stl_deque.h demangle.h: Fix allocator type correctness, i.e. 2003-12-18 18:35:38 +00:00
stl_function.h codecvt_specializations.h: Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment. 2003-10-12 10:12:09 +00:00
stl_heap.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_iterator_base_funcs.h
stl_iterator_base_types.h
stl_iterator.h
stl_list.h [multiple changes] 2004-01-07 20:55:06 +00:00
stl_map.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_multimap.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_multiset.h re PR libstdc++/13462 (Non-standard conformed type set::pointer) 2003-12-22 11:32:34 -08:00
stl_numeric.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_pair.h codecvt_specializations.h: Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment. 2003-10-12 10:12:09 +00:00
stl_queue.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_raw_storage_iter.h
stl_relops.h
stl_set.h re PR libstdc++/13462 (Non-standard conformed type set::pointer) 2003-12-22 11:32:34 -08:00
stl_stack.h [multiple changes] 2003-11-11 20:09:16 +00:00
stl_tempbuf.h
stl_threads.h mt_allocator.h: Change include to gthr.h. 2003-10-21 18:01:37 +00:00
stl_tree.h [multiple changes] 2004-01-07 20:55:06 +00:00
stl_uninitialized.h
stl_vector.h [multiple changes] 2004-01-07 20:55:06 +00:00
stream_iterator.h [multiple changes] 2003-11-11 20:09:16 +00:00
streambuf_iterator.h streambuf_iterator.h (ostreambuf_iterator): Remove non-standard throw specs. 2003-11-24 21:02:39 +00:00
streambuf.tcc re PR libstdc++/13189 (<ext/enc_filebuf.h> fails to compile) 2003-12-05 06:54:24 +00:00
stringfwd.h
type_traits.h
valarray_after.h
valarray_array.h
valarray_array.tcc
valarray_before.h
vector.tcc [multiple changes] 2003-11-11 20:09:16 +00:00