これが Visual Studio 2010 のバグかどうかを確認したかったのですが、そうである場合、設定を変更できますか? またはどうすればこれを解決できますか?
#include <iostream>
#include <vector>
#include <algorithm>
std::vector<std::string> test;
test.push_back("hello"); test.push_back("ABC");
std::sort(test.begin(), test.end());
これは、 std::string ヘッダーを含めなかったために発生しました。