我有这段代码
class Iterator{
private:
MultiMap mp;
int curent;
public:
Iterator(MultiMap md):mp(md),curent(0){};
};
class MultiMap{
private:
int m;
int urm[20];
public:
Iterator begin(){return Iterator();/*here is the probleme*/};
};
如何从类MultiMap开始创建迭代器? 我该如何从方法开始调用Iterator创建者?