From 2eeaeafb40a6b04b811714c793fb97ce4de41254 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 30 Jan 2021 14:14:01 +0000 Subject: Split into main app and library the rest for testing --- utility/special_members.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'utility/special_members.hpp') diff --git a/utility/special_members.hpp b/utility/special_members.hpp index f396813..0d63f58 100644 --- a/utility/special_members.hpp +++ b/utility/special_members.hpp @@ -9,4 +9,10 @@ TYPE(TYPE &&) = delete; \ void operator=(TYPE &&) = delete +#define DEFAULT_MOVE_COPY(TYPE) \ + TYPE(const TYPE &) = default; \ + TYPE(TYPE &&) = default; \ + TYPE & operator=(const TYPE &) = default; \ + TYPE & operator=(TYPE &&) = default + #endif -- cgit v1.2.3