📅  最后修改于: 2022-03-11 14:44:54.334000             🧑  作者: Mango
std::list::iterator it = listOfStrs.begin();
// Advance the iterator by 2 positions for a list of string named listOfStrs
std::advance(it, 2);