From d63f5ce1cb86e69da28bd74b21e9452dbd88a38f Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 28 Feb 2021 15:42:39 +0000 Subject: Move utility to lib --- utility/special_members.hpp | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 utility/special_members.hpp (limited to 'utility/special_members.hpp') diff --git a/utility/special_members.hpp b/utility/special_members.hpp deleted file mode 100644 index 0d63f58..0000000 --- a/utility/special_members.hpp +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef SPECIAL_MEMBERS_H -#define SPECIAL_MEMBERS_H - -#define NO_COPY(TYPE) \ - TYPE(const TYPE &) = delete; \ - void operator=(const TYPE &) = delete - -#define NO_MOVE(TYPE) \ - 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