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++/std | |
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++/std')
-rw-r--r-- | contrib/libstdc++/std/bastring.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |