Add a find_if template for pointer-based containers.