#include <vector>
#include <set>
#include <map>
#include <iterator>
#include <functional>
#include <algorithm>
using namespace std;
// 생략 ...
set<set<int> > grps;
int x;
set<set<int> >::iterator x_iter = find_if(grps.begin(), grps.end(),
bind2nd(mem_fun_ref(&set<int>::count), x));
마지막 줄이 자꾸 컴파일 에러가 납니다.
혼자서 계속 머리 굴려봤는데, 해답이 안 떠오르네요.
STL 고수님, 잠시만 훑어봐 주세요.