VC++ 2010 Express 没有 std::thread 吗?我正在使用多线程DLL。编译器找不到头文件,也无法识别std::thread::hardware_concurrency。是否有一些我需要修复的设置,或者只是丢失了? (2012 年 7 月,最新且最精彩的。)
最佳答案
std::thread
是在 C++11 中添加的,这仍然是相对较新的。
VC++ 2010 不支持。但VC++ 2012应该有。
关于multithreading - VC++ 2010 Express 没有 std::thread 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11496557/