Go to file
Paolo Carlini 418bb88063 basic_string.h (replace(i1, i2, _CharT* k1, _CharT* k2), [...]): New specializations to optimize for the common cases of pointers and iterators.
2002-04-02  Paolo Carlini  <pcarlini@unitus.it>
	    Nathan Myers  <ncm@cantrip.org>
            Philip Martin  <philip@codematters.co.uk>

	* include/bits/basic_string.h
	(replace(i1, i2, _CharT* k1, _CharT* k2),
	replace(i2, i2, const _CharT* k1, const _CharT* k2),
	replace(i1, i2, iterator k1, iterator k2,
	replace(i1, i2, const_iterator k1, const_iterator k2):
	New specializations to optimize for the common cases of
	pointers and iterators.
	(replace(pos, n1, s, n2)): Tweak.
	* include/bits/basic_string.tcc: Tweak comments.
	* testsuite/21_strings/replace.cc (test04): New tests.

Co-Authored-By: Nathan Myers <ncm@cantrip.org>
Co-Authored-By: Philip Martin <philip@codematters.co.uk>

From-SVN: r51746
2002-04-02 12:07:07 +00:00
boehm-gc gcconfig.h: define DYNAMIC_LOADING for ELF NetBSD/i386. 2002-03-31 00:15:36 +00:00
config
contrib * texi2pod.pl: Handle @end ftable and @end vtable. 2002-03-26 03:04:41 +00:00
fastjar jartool.c (expand_options): Handle tar-style argument list with a leading "-". 2002-03-18 11:08:21 +00:00
gcc stor-layout.c (layout_type, [...]): Give one-element array the same mode as its component. 2002-04-02 07:00:30 -05:00
include dyn-string.h: Also allow IN_GLIBCPP_V3 to redefine names. 2002-04-01 21:54:28 +00:00
INSTALL
libchill re PR other/5299 (then -> than fixes) 2002-01-11 22:14:28 +00:00
libf2c Daily bump. 2002-04-02 08:18:58 +00:00
libffi configure.in (i*86-*-netbsdelf*): Don't disable libgcj. 2002-03-31 00:33:17 +00:00
libiberty cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3. 2002-04-01 21:55:12 +00:00
libjava BitSet.java (BitSet(int)): if nbits < 0 throw NegativeArraySizeException 2002-04-01 19:59:12 +00:00
libobjc re PR libobjc/4039 (installation location of libobjc is wrong) 2002-02-11 18:10:05 +00:00
libstdc++-v3 basic_string.h (replace(i1, i2, _CharT* k1, _CharT* k2), [...]): New specializations to optimize for the common cases of pointers and iterators. 2002-04-02 12:07:07 +00:00
maintainer-scripts gcc_release: Build diffs for ada and chill. 2002-03-10 01:08:52 +00:00
zlib Last commit missed this 2002-03-17 00:46:40 +00:00
.cvsignore
ChangeLog configure.in (i*86-*-netbsdelf*): Don't disable libgcj. 2002-03-31 00:33:17 +00:00
config-ml.in
config.guess config.guess: Updated to 2002-01-30's version. 2002-02-09 03:00:13 +00:00
config.if
config.sub config.guess: Updated to 2002-01-30's version. 2002-02-09 03:00:13 +00:00
configure * configure, configure.in: Use temp file for long sed commands. 2001-12-05 07:40:39 -05:00
configure.in configure.in (i*86-*-netbsdelf*): Don't disable libgcj. 2002-03-31 00:33:17 +00:00
COPYING
COPYING.LIB
install-sh * install-sh: Use _inst.$$_ for temp file name. 2002-01-25 18:42:28 -05:00
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh * ltmain.sh (relink_command): Fix typo in previous change. 2002-03-16 14:42:17 +00:00
MAINTAINERS * MAINTAINERS (Write After Approval): Add myself. 2002-03-27 21:16:28 +00:00
Makefile.in Makefile.in (NOTPARALLEL): New. 2002-03-12 16:38:20 -08:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.