summaryrefslogtreecommitdiff
path: root/utility/special_members.hpp
blob: f396813554759a4ff41e4bef6553e490e6b955f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef SPECIAL_MEMBERS_H
#define SPECIAL_MEMBERS_H

#define NO_COPY(TYPE) \
	TYPE(const TYPE &) = delete; \
	void operator=(const TYPE &) = delete

#define NO_MOVE(TYPE) \
	TYPE(TYPE &&) = delete; \
	void operator=(TYPE &&) = delete

#endif