aboutsummaryrefslogtreecommitdiff
path: root/include/utils.hpp
blob: 9ad9d972d2cdfd78ca38eeaa901d9340792c9837 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef SIBS_UTILS_HPP
#define SIBS_UTILS_HPP

// Disable copying for a class or struct
#define DISABLE_COPY(ClassName) \
	ClassName(ClassName&) = delete; \
	ClassName(ClassName&&) = delete; \
	ClassName& operator = (ClassName&) = delete;

#endif // SIBS_UTILS_HPP