Commit e5fd03ba by Gabriel Dos Reis Committed by Gabriel Dos Reis

bastring.h (basic_string<>::push_back): Was missing.

2000-03-10  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

        * std/bastring.h (basic_string<>::push_back): Was missing.

From-SVN: r32474
parent dd1ba632
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> 2000-01-12 Fred Fish <fnf@be.com>
* Makefile.in (SHOPT): New macro, flag to ld to create * Makefile.in (SHOPT): New macro, flag to ld to create
......
...@@ -213,6 +213,9 @@ public: ...@@ -213,6 +213,9 @@ public:
#endif #endif
{ return replace (iend (), iend (), first, last); } { 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, basic_string& assign (const basic_string& str, size_type pos = 0,
size_type n = npos) size_type n = npos)
{ return replace (0, npos, str, pos, n); } { return replace (0, npos, str, pos, n); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment