HandlerList::iterator it = std::find_if( handlers.begin(),  handlers.end() , a_function_comparing_priorities);