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

21 lines
313 B
C++

#pragma once
#include "SortedMap.h"
//DO NOT CHANGE THIS PART
class SMIterator{
friend class SortedMap;
private:
const SortedMap& map;
SMIterator(const SortedMap& mapionar);
//TODO - Representation
Node* current;
public:
void first();
void next();
bool valid() const;
TElem getCurrent() const;
};