int main(){
multiset<string> graph;
graph.insert("a");
graph.insert("b");
multiset<string>::iterator it = graph.begin();
cout << *(it + 1) // Wrong
cout << *++it; // True
return 0;
}
why does the compiler complain when executing *(it + 1), but *(++it) can be well executed. Shouldn't it + 1 and ++it return the same value?