c2064

C++: Error C2064 with STL

I'm trying to use STL, but the following doesn't compile. main.cpp: #include <set> #include <algorithm> using namespace std; class Odp { public: set<int> nums; bool IsOdd(int i) { return i % 2 != 0; } bool fAnyOddNums() { set<int>::iterator iter = find_if(nums.begin(), nums.end(), &Odp::IsOdd...