summaryrefslogtreecommitdiff
path: root/algo1w3/IntLink.h
blob: ce8c916e1f137efcceb31ddbfbba244a92d6f1c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

class IntLink {
public:
	IntLink();
	IntLink(int, IntLink*);
	virtual ~IntLink();

private:
	IntLink* next = nullptr;
	int value = 0;

private:
	friend class IntLinkedList;
};