We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_uninit_assign 进行构造时,节点数在while之后n变为0后赋值给m_size,应为while之前赋值。
The text was updated successfully, but these errors were encountered:
迭代器 iterator-- 实现也写错了
Sorry, something went wrong.
empty()实现时,_M_dummy._M_prev == _M_dummy._M_next; 如果列表只有一个元素,_M_prev 和 _M_next 都会指向虚拟节点,导致empty方法错误地返回true。应该修改成_M_dummy._M_next == &_M_dummy
已修复,请重新 pull
No branches or pull requests
_uninit_assign 进行构造时,节点数在while之后n变为0后赋值给m_size,应为while之前赋值。
The text was updated successfully, but these errors were encountered: