diff options
author | Jacques Lucke <jacques@blender.org> | 2022-09-25 18:57:49 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-09-25 18:57:49 +0300 |
commit | 2fd63efd0ea840fa09222ded42ed8494bc2735f8 (patch) | |
tree | d0f6cae6084f346e4f743c74f3bf8d1f485ddf06 /make.bat | |
parent | c6e70e7bacf82b38ca7125d6821713a711489c0b (diff) |
BLI: simplify removing elements from containers with predicate
Previously removing elements based on a predicate was a bit cumbersome,
especially for hash tables. Now there is a new `remove_if` method in some
data structures which is similar to `std::erase_if`. We could consider adding
`blender::erase_if` in the future to more closely mimic the standard library,
but for now this is using the api design of the surrounding code is used.
Diffstat (limited to 'make.bat')
0 files changed, 0 insertions, 0 deletions