forked from Bananymous/banan-os
12 lines
284 B
C
12 lines
284 B
C
|
#pragma once
|
||
|
|
||
|
#define BAN_NON_COPYABLE(class) \
|
||
|
private: \
|
||
|
class(const class&) = delete; \
|
||
|
class& operator=(const class&) = delete
|
||
|
|
||
|
#define BAN_NON_MOVABLE(class) \
|
||
|
private: \
|
||
|
class(class&&) = delete; \
|
||
|
class& operator=(class&&) = delete
|