Skip to content
New issue

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

关于basic_string.h 中insert(const_iterator pos, Iter first, Iter last) 方法中有逻辑 错误 #172

Open
elsa-elsa-elsa opened this issue Dec 29, 2024 · 0 comments

Comments

@elsa-elsa-elsa
Copy link

insert(const_iterator pos, Iter first, Iter last) 方法中 此段代码 char_traits::move(r + len, r, len); 参数不对,第三个参数应该取end() - r, 而不应该取len。其他insert 方法同理。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant