How to write a method that takes a general iterator as input argument?
How about:

template&lt;typename C&gt;
void ConvertUtility::ConvertEdgeIndexList(C const&amp; edgeIndex)
{
     typename C::const_iterator sit;
     for(sit=edgeIndex.begin(); sit!=edgeIndex.end(); ++sit)
     {                                      //        ^^ Prefer pre-increment on iterators.

     }
}


PS. Stackoverflow may be a better site for this type of question.