aboutsummaryrefslogtreecommitdiff
path: root/week13/Exercise1/IndexArray.h
blob: 90c948e4c2513fe8b6dfcdfd00db4c31fe98c1e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

class IndexArray {
	void free();
	void copyFrom(const IndexArray& other);

protected:
	int *indecies;
	unsigned size;

public:
	IndexArray();
	virtual ~IndexArray();
	IndexArray(const IndexArray& other);
	IndexArray& operator=(const IndexArray& other);
	IndexArray(IndexArray&& other);
	IndexArray& operator=(IndexArray&& other);
};