util.hpp
Go to the documentation of this file.
1 #pragma once
2 
7 #define HEBI_DISABLE_COPY_MOVE(Class) \
8 /* Disable copy constructor. */ \
9 Class(const Class& other) = delete; \
10 /* Disable move constructor. */ \
11 Class(const Class&& other) = delete; \
12 /* Disable copy assigment operator. */ \
13 Class& operator= (const Class& other) = delete; \
14 /* Disable move assigment operator. */ \
15 Class& operator= (const Class&& other) = delete;
16 
17 #define HEBI_DISABLE_COPY(Class) \
18 /* Disable copy constructor. */ \
19 Class(const Class& other) = delete; \
20 /* Disable copy assigment operator. */ \
21 Class& operator= (const Class& other) = delete;


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:09:46