diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2000-03-30 03:23:37 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2000-03-30 03:23:37 +0000 |
commit | 34f99151ae5d74d9977a95665c2f4192007dfed4 (patch) | |
tree | 8ab72411e3369d8509f9af95bd6e3b2941ff630a /contrib/libstdc++ | |
parent | 69ffc00f5da62b5b9679474845e8fca0fbf534a7 (diff) | |
download | src-34f99151ae5d74d9977a95665c2f4192007dfed4.tar.gz src-34f99151ae5d74d9977a95665c2f4192007dfed4.zip |
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]
Notes
Notes:
svn path=/vendor/gcc/dist/; revision=58809
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 18e557aefe59..a358e5d0fcb4 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 cd3793fffc04..bbe873085eaa 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); } |