. . . "However std::count_if expects a unary predicate but std::isdigit is just a function that takes 2 parameters and returns true if the character is a digit." .