void ff(int){}
void Unscribe(const boost::function<void(int)>& f)
{
std::map<int, boost::function<void(int)> > map;
map[0] = ff;
if( map[0] == f)
{
}
}
Unscribe( ff );
I would like to be able to compare two boost::function with the same signature. What should I modified to get this code compilable ?