mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 04:17:34 +00:00
11 lines
276 B
C
11 lines
276 B
C
#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;
|