AK: Add AK_MAKE_NONMOVABLE

This commit is contained in:
Andreas Kling 2019-09-22 00:17:29 +02:00
parent 8d550c174e
commit 0c72e0c09f
Notes: sideshowbarker 2024-07-19 12:00:51 +09:00

View file

@ -4,3 +4,8 @@
private: \ private: \
c(const c&) = delete; \ c(const c&) = delete; \
c& operator=(const c&) = delete; c& operator=(const c&) = delete;
#define AK_MAKE_NONMOVABLE(c) \
private: \
c(c&&) = delete; \
c& operator=(c&&) = delete;