#pragma once #include #include "util.h" #include "strings.h" template ListIterator find_if_range(ListRange range, Predicate pred) { return std::find_if(range.begin(), range.end(), pred); } template bool by_name_case_insensitive::operator () (T * object) { return str_lower(object->get_name().c_str()) == str_lower(this->target_name); }