summaryrefslogtreecommitdiff
path: root/libstdc++
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-10 21:20:08 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-10 21:20:08 +0000
commitc0f1a474b57f4db1f3549d1d095cb05ba33cf39a (patch)
tree54d739531aa39a52f688e21d268c648143eaa0ab /libstdc++
parentf9fffd9700c90c96c68b071d07f523c48aa47d35 (diff)
downloadgcc-c0f1a474b57f4db1f3549d1d095cb05ba33cf39a.tar.gz
2000-03-10 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/bastring.h (basic_string<>::push_back): Was missing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32474 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++')
-rw-r--r--libstdc++/ChangeLog4
-rw-r--r--libstdc++/std/bastring.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog
index 8a882b7124b..f4fa0434882 100644
--- a/libstdc++/ChangeLog
+++ b/libstdc++/ChangeLog
@@ -1,3 +1,7 @@
+2000-03-10 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
+
+ * std/bastring.h (basic_string<>::push_back): Was missing.
+
2000-01-12 Fred Fish <fnf@be.com>
* Makefile.in (SHOPT): New macro, flag to ld to create
diff --git a/libstdc++/std/bastring.h b/libstdc++/std/bastring.h
index 1fc89416f1c..43aea7585ca 100644
--- a/libstdc++/std/bastring.h
+++ b/libstdc++/std/bastring.h
@@ -213,6 +213,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); }