bool is_even(int n) {
return n % 2 == 0;
} // best and fastest ever, can't rewrite
int main() {
std::vector<int> v{1, 2, 3, 4, 5, 6, 7};
// want reuse, but the other way around
auto is_odd = std::______(is_even);
auto odd_count = std::count_if(v.begin(), v.end(),
is_odd);
std::print("odd_count = {}", odd_count); // odd_count = 4
}






