This is the mail archive of the libstdc++-cvs@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r107820 - in /branches/libstdcxx_so_7-branch/li...


Author: paolo
Date: Thu Dec  1 12:52:50 2005
New Revision: 107820

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107820
Log:
2005-12-01  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/basic_string.h (insert(iterator, _CharT),
	erase(iterator), erase(iterator, iterator)): Avoid troubles
	with ADL, user defined operators and __normal_iterator.
	* include/bits/stl_iterator.h (operator-(const __normal_iterator
	<_Iterator, _Container>&, const __normal_iterator<_Iterator,
	_Container>&)): Add overload for left and right iterators of
	the same type.
	* include/debug/safe_iterator.h (operator-(const _Safe_iterator
	<_Iterator, _Sequence>&, const _Safe_iterator<_Iterator,
	_Sequence>&)): Likewise.
	* testsuite/21_strings/basic_string/types/1.cc: New.

Added:
    branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/21_strings/basic_string/types/1.cc
Modified:
    branches/libstdcxx_so_7-branch/libstdc++-v3/ChangeLog.libstdcxx_so_7-branch
    branches/libstdcxx_so_7-branch/libstdc++-v3/include/bits/basic_string.h
    branches/libstdcxx_so_7-branch/libstdc++-v3/include/bits/stl_iterator.h
    branches/libstdcxx_so_7-branch/libstdc++-v3/include/debug/safe_iterator.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]