mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05: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;
|