c++ remove multiple items from list
class Anything{
public:	int func() };
list<Anything> lst = <some_elements>;
//removes every element in list that returned true in line 9
lst.erase(std::remove_if(lst.begin(), lst.end(),
                       [&](const Anything lst)-> bool
                       { return lst.func() == something; }), //any condition
        lst.end());
