Go to the documentation of this file.
16 #define QX_COPYABLE(className) \
17 className(const className&) = default; \
18 className& operator=(const className&) = default
25 #define QX_MOVABLE(className) \
26 className(className&&) noexcept = default; \
27 className& operator=(className&&) noexcept = default
34 #define QX_COPYMOVABLE(className) \
35 QX_COPYABLE(className); \
43 #define QX_NONCOPYABLE(className) \
44 className(const className&) = delete; \
45 className& operator=(const className&) = delete
52 #define QX_NONMOVABLE(className) \
53 className(className&&) noexcept = delete; \
54 className& operator=(className&&) noexcept = delete
61 #define QX_NONCOPYMOVABLE(className) \
62 QX_NONCOPYABLE(className); \
63 QX_NONMOVABLE(className)