Files
2024-08-31 12:07:21 +03:00

22 lines
288 B
C++

#pragma once
#include "Map.h"
class MapIterator
{
//DO NOT CHANGE THIS PART
friend class Map;
private:
const Map& map;
//TODO - Representation
int _current;
int _first;
MapIterator(const Map& m);
public:
void first();
void next();
TElem getCurrent();
bool valid() const;
};