HUssein's Standard Template Library Extension.
This library is supposed to complement the STL by extending the functonality.
- algorithm
- cleaner erase interface
#include <hustle/algorithm.hpp>
int main() {
std::vector<int> nums{9, 8, 7};
hustle::erase(nums, 8);
// nums = {9, 7}
std::string text = "Hello, World!";
hustle::erase_if_not(text, ::islower);
// text = "elloorld"
}
Special thanks to Joel for helping choose this awesome name!