error: void value not ignored as it ought to be

使用C++ STL的容器方法时碰到的问题。this

int  index = this->dequeUnusedStatus.pop_front();容器

this->dequeUnusedStatus.pop_front();的返回值是void类型,给index赋值就会报这个错sed

相关文章
相关标签/搜索