This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
String missing push_back()
- To: <egcs-bugs at cygnus dot com>
- Subject: String missing push_back()
- From: "Bruce Eckel" <Bruce at EckelObjects dot com>
- Date: Thu, 10 Dec 1998 12:39:36 -0800
- Reply-To: "Bruce Eckel" <Bruce at EckelObjects dot com>
This should work, it's in the FDIS:
#include <string>
using namespace std;
int main() {
string s;
s.push_back('c');
}
=============================
Bruce Eckel http://www.BruceEckel.com
Contains free electronic books: "Thinking in Java" & "Thinking in C++ 2e"