当我尝试编译以下代码时出现此错误:
#include <boost/signals2/mutex.hpp>
class Log
{
private:
boost::mutex m_log;
...
}
我尝试编译时得到的错误是:
error: ‘mutex’ in namespace ‘boost’ does not name a type
当我尝试编译以下代码时出现此错误:
#include <boost/signals2/mutex.hpp>
class Log
{
private:
boost::mutex m_log;
...
}
我尝试编译时得到的错误是:
error: ‘mutex’ in namespace ‘boost’ does not name a type