Added map
This commit is contained in:
11
map/data/class-integer.hpp
Normal file
11
map/data/class-integer.hpp
Normal file
@ -0,0 +1,11 @@
|
||||
class Integer {
|
||||
private:
|
||||
int data;
|
||||
public:
|
||||
Integer(const int &value) : data(value) {}
|
||||
Integer(const Integer &other) : data(other.data) {}
|
||||
bool operator==(const Integer &t)
|
||||
{
|
||||
return data == t.data;
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user