我定义的变量如下:编译错误使用boost ::时:: lockfree spsc_queue(?难道是提升一个bug)
boost::lockfree::spsc_queue<std::vector<char *>, boost::lockfree::capacity<10> > myVariable;
,并在我的代码,我想休息吧:
myVariable.reset();
,但是当我编译我的代码,我收到此错误:
Error 17 error C2660: 'boost::lockfree::detail::ringbuffer_base<T>::pop' : function does not take 1 arguments C:\Local\boost\boost\lockfree\spsc_queue.hpp
为什么我得到这个错误?
我使用的Visual Studio 2013在Windows 8.1
编辑1:
升压版本是1.57
哪个版本的嘘安装在'C:\ Local \ boost' – sehe
@sehe增加版本添加到问题。 – mans