[開発ツール]_[VSB 2010"_[vs 2010の一つのbug-strigstreamを使用すると出現します。


1.Microsoftを登録してからバグを提出したいですが、このヒントがありますので、バグを提出できません。提出できるものがあれば提出してください。
You are not authorized to submit the feedback for this connection.
2.VSS 2010 sp 1のbug、tempはなんと空です。
TEST(test_Aa,StringStream)
{
	std::stringstream ss;
	ss << 0;
	const char* temp = ss.str().c_str();
	std::cout << "temp: " << temp << std::endl;
}
ここでvs 2010 sp 1のtemp出力を使って、g++は正常に0に出力します。
vs 2010:
temp:
備考:マイクロソフトが実現する標準倉庫の問題です。時間を見つけて検討してください。臨時解決方法はまずstingstreamをstringに変えてからstringからc_を呼び出します。strは価値があります