blob: b5e910e5503ae2b30ad50421b9318bbcfd39a371 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
#define AK_MAKE_NONCOPYABLE(c) \
private: \
c(const c&) = delete; \
c& operator=(const c&) = delete;
#define AK_MAKE_NONMOVABLE(c) \
private: \
c(c&&) = delete; \
c& operator=(c&&) = delete;
|