gcc/libstdc++-v3/include/bits
Paolo Carlini 95c9624ff5 re PR libstdc++/13650 (string::compare should not (always) use traits_type::length())
2004-01-13  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/13650
	* include/bits/basic_string.tcc (compare(size_type, size_type,
	const _CharT*, size_type)): Implement correctly the resolution
	of DR 5: basically, s is a char array, -not- a C string.
	* include/bits/basic_string.h: Tweak some comments.
	* testsuite/21_strings/basic_string/compare/char/13650.cc: New.
	* testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.

From-SVN: r75798
2004-01-13 11:12:38 +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 re PR libstdc++/13650 (string::compare should not (always) use traits_type::length()) 2004-01-13 11:12:38 +00:00
basic_string.tcc re PR libstdc++/13650 (string::compare should not (always) use traits_type::length()) 2004-01-13 11:12:38 +00:00
boost_concept_check.h
c++config Daily bump. 2004-01-13 00:16:08 +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 members _M_truename_len and _M_falsename_len... 2004-01-12 17:02:08 +00:00
locale_facets.tcc locale_facets.h (struct __numpunct_cache): Add members _M_truename_len and _M_falsename_len... 2004-01-12 17:02:08 +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