j arrive pas a appliquer l algorithm find de la bibliotheque standard sur une map que j ai crée

par exemple :

typedef map<int,string> mymap;
mymap m;
int keyval=0;
mymap::iterator i = m.begin();
mymap::iterator j = m.end();

return find(i,j,mymap::value_type(1,"un"));

tout ca dans une fonction qui a comme type de retour mymap::iterator

mais ca me renvoi les erreurs

In member function `std::_Rb_tree_iterator<std::pair<const int, std::string> > simulmap::find(const int&)':

no matching function for call to `simulmap::find(std::_Rb_tree_iterator<std::pair<const int, std::string> >&, std::_Rb_tree_iterator<std::pair<const int, std::string> >&, std::pair<const int, std::string>)'

candidates are: std::_Rb_tree_iterator<std::pair<const int, std::string> > simulmap::find(const int&)

std::_Rb_tree_const_iterator<std::pair<const int, std::string> > simulmap::find(const int&) const

pouvez vous m aider car je suis coincé