This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11818] istrstream::operator>> generates wrong output and corrupts source string
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Aug 2003 01:56:37 -0000
- Subject: [Bug c++/11818] istrstream::operator>> generates wrong output and corrupts source string
- References: <20030806011620.11818.llewins@raytheon.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11818
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-06 01:56 -------
istrstream is deprecated, it might be removed in a future version of the c++ standard.
istringstream produces what you expected, use that instead.