summaryrefslogtreecommitdiff
path: root/lib/special_members.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/special_members.hpp')
-rw-r--r--lib/special_members.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/special_members.hpp b/lib/special_members.hpp
index d1dca99..4b85884 100644
--- a/lib/special_members.hpp
+++ b/lib/special_members.hpp
@@ -25,4 +25,8 @@
DEFAULT_MOVE(TYPE); \
NO_COPY(TYPE)
+#define CUSTOM_MOVE(TYPE) \
+ TYPE(TYPE &&) noexcept; \
+ TYPE & operator=(TYPE &&) noexcept
+
#endif