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
remove
remove_if
erase
Yeah, this is a hot take :-)
But Standard containers, Qt containers, etc. call the direct erasing operation erase, not remove:
// C++20 std::vector<int> v = ~~~; erase(v, 42); // Qt 6, C++17 QLits<int> list = ~~~; erase(list, 42);
The text was updated successfully, but these errors were encountered:
Rename remove/remove_if to erase/erase_if
943fddd
Task-Id: #7
Rename remove/remove_if to erase/erase_if / return count
0f44e32
This fixes issue #7 and #9
5506466
7404a7d
No branches or pull requests
Yeah, this is a hot take :-)
But Standard containers, Qt containers, etc. call the direct erasing operation
erase
, notremove
:The text was updated successfully, but these errors were encountered: