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 + + * std/bastring.h (basic_string<>::push_back): Was missing. + 2000-01-12 Fred Fish * 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); }