Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

The newest compiler still fail in compiling stringstream

$
0
0
#include<sstream>
int main()
{
	std::stringstream ss("");
	double doub;
	ss << 3213.0;
	ss >> doub;      // comment it then compile successfully
	return 0;
}

In Debug mode, it compiles successfully, but fails in Release mode.

I don't know how to solve this problem. if you know please show me, thank you.


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>