在ubuntu </cstdatomic>中,#include <cstdatomic>“没有这样的文件”

时间:2011-10-08 14:53:00

标签: c++

使用g ++ -std = c ++ 0x -Wall test.cc -o hello编译时, 输出致命错误:cstdatomic没有这样的文件或直接

哪里缺少?

1 个答案:

答案 0 :(得分:4)

包含应为#include <atomic>