Return erased size in erase_if
Summary: To have parity with C++20 `std::erase_if`: https://en.cppreference.com/w/cpp/container/unordered_set/erase_if Added a return value for `folly::erase_if` for the number of the removed elements. (Note: this ignores all push blocking failures!) Reviewed By: yfeldblum Differential Revision: D23779631 fbshipit-source-id: cea42b90557dd570db8e010d68c2b9ecf0bcc515
Showing
Please register or sign in to comment