STL的迭代器分为不同的category,每个category对应不同的功能。map的iterator属于bidirectional,这种类型的迭代器没有提供+运算符。 你可以用std::advance(it, ...
確定! 回上一頁