#ifndef COMMON_H #define COMMON_H #define DISABLE_COPY_CLASS(ClassName) \ ClassName(const ClassName& other) = delete; \ ClassName(ClassName&& temp) = delete; \ ClassName& operator=(const ClassName& other) = delete; \ ClassName& operator=(ClassName&& temp) = delete; #endif // COMMON_H