1 2 3 4 5 6
#pragma once #define AK_MAKE_NONCOPYABLE(c) \ private: \ c(const c&) = delete; \ c& operator=(const c&) = delete;