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

相關文章
相關標籤/搜索