]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
bastring.h (basic_string<>::push_back): Define.
authorGabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
Sun, 12 Mar 2000 16:36:14 +0000 (17:36 +0100)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 12 Mar 2000 16:36:14 +0000 (16:36 +0000)
2000-03-12  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

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

From-SVN: r32491

libstdc++/ChangeLog
libstdc++/std/bastring.h

index 18e557aefe5955a697984f756340a1dc90a8b592..a358e5d0fcb4c79b937654e7a83e1621479d8c80 100644 (file)
@@ -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>
index cd3793fffc046f8f75cb59a4d644ad27913a3751..bbe873085eaa4b9e2406d4d6f0b48c06e68323f2 100644 (file)
@@ -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); }