Cthulhu  0.2.10
Cthulhu compiler collection
utils.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #define CTX_UNUSED [[maybe_unused]]
4 
5 #define CTX_NOMOVE(x) \
6  x(x&&) = delete; \
7  x& operator=(x&&) = delete;
8 
9 #define CTX_NOCOPY(x) \
10  x(const x&) = delete; \
11  x& operator=(const x&) = delete;