summaryrefslogtreecommitdiff
path: root/contrib/libstdc++
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-03-30 03:23:37 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-03-30 03:23:37 +0000
commite869a83616935188fed8a0b5534733e98bc4f54a (patch)
treebe093fec3b1302e83dca618de48b1a99f25e888b /contrib/libstdc++
parent2baad49d8e2ba9b1e82f965b2582f0fc01fffa75 (diff)
parent34f99151ae5d74d9977a95665c2f4192007dfed4 (diff)
Notes
Diffstat (limited to 'contrib/libstdc++')
-rw-r--r--contrib/libstdc++/ChangeLog4
-rw-r--r--contrib/libstdc++/std/bastring.h3
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); }