宣布我有以下代码:为什么不串范围
#include <string>
#include <boost/thread/tss.hpp>
static boost::thread_specific_ptr<string> _tssThreadNameSptr;
我收到以下错误
g++ -c -I$BOOST_PATH tssNaming.h
tssNaming.h:7: error: 'string' was not declared in this scope
但我包括我的#include
字符串。
之前的字符串 – innochenti
可能重复添加的std :: [C++错误: '串' 尚未声明】(http://stackoverflow.com/questions/2890860/c-错误字符串还没有被宣布) – juanchopanza