summaryrefslogtreecommitdiff
path: root/contrib/libstdc++/std/bastring.h
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
commit34f99151ae5d74d9977a95665c2f4192007dfed4 (patch)
tree8ab72411e3369d8509f9af95bd6e3b2941ff630a /contrib/libstdc++/std/bastring.h
parent69ffc00f5da62b5b9679474845e8fca0fbf534a7 (diff)
Notes
Diffstat (limited to 'contrib/libstdc++/std/bastring.h')
-rw-r--r--contrib/libstdc++/std/bastring.h3
1 files changed, 3 insertions, 0 deletions
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); }