摘要:
在MacOS中,尝试在C++的多线程中传入参数,发现报错:no matching constructor for initialization of 'std::thread' 原因:MacOS的g++使用clang,默认不支持C++11多线程。解决方法:编译指令加上 -std=c++11例如:g+ 阅读全文
posted @ 2015-07-25 19:15
xxxxxxxx1x2xxxxxxx
阅读(850)
评论(0)
推荐(0)
浙公网安备 33010602011771号