This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
As a new member of this mailing list, please accept
my apology if my question is inappropriate or being asked somewhere else.
That said, consider the following program:
#include <iostream> #include <sstream> using namespace std; int main() { istringstream iss("1 2 3 4 5"); int i; while (iss >> i) cout << i << '\n'; } using g++ 2.95.2 and libstdc++-2.90.8, the above program caused an infinite loop by repeating printing 5. Is it a known bug? If so, is there any patch available? CH
|
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |