diff options
author | obrien <obrien@FreeBSD.org> | 2000-03-30 03:23:37 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-03-30 03:23:37 +0000 |
commit | 89d6e979f6e51927c13633bc1c374b05a37d0238 (patch) | |
tree | 8ab72411e3369d8509f9af95bd6e3b2941ff630a /contrib/libstdc++ | |
parent | d960933253199247491f17d26251ce15129dd8b4 (diff) | |
download | FreeBSD-src-89d6e979f6e51927c13633bc1c374b05a37d0238.zip FreeBSD-src-89d6e979f6e51927c13633bc1c374b05a37d0238.tar.gz |
Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"
branch as of March 29th, 2000. [these are changes March 7-29th]
Diffstat (limited to 'contrib/libstdc++')
-rw-r--r-- | contrib/libstdc++/ChangeLog | 4 | ||||
-rw-r--r-- | contrib/libstdc++/std/bastring.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/contrib/libstdc++/ChangeLog b/contrib/libstdc++/ChangeLog index 18e557a..a358e5d 100644 --- a/contrib/libstdc++/ChangeLog +++ b/contrib/libstdc++/ChangeLog @@ -1,3 +1,7 @@ +2000-03-12 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> + + * std/bastring.h (basic_string<>::push_back): Define. + Tue Mar 7 21:37:56 2000 Jeffrey A Law (law@cygnus.com) 1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> diff --git a/contrib/libstdc++/std/bastring.h b/contrib/libstdc++/std/bastring.h index cd3793f..bbe8730 100644 --- a/contrib/libstdc++/std/bastring.h +++ b/contrib/libstdc++/std/bastring.h @@ -208,6 +208,9 @@ public: #endif { return replace (iend (), iend (), first, last); } + void push_back(charT __c) + { append(1, __c); } + basic_string& assign (const basic_string& str, size_type pos = 0, size_type n = npos) { return replace (0, npos, str, pos, n); } |