1 #ifndef MSP_CORE_NONCOPYABLE_H_
2 #define MSP_CORE_NONCOPYABLE_H_
8 #if __cplusplus >= 201103L
10 NonCopyable() = default;
11 NonCopyable(const NonCopyable &) = delete;
12 NonCopyable &operator=(const NonCopyable &) = delete;
13 ~NonCopyable() = default;
16 NonCopyable(const NonCopyable &) { }
17 NonCopyable &operator=(const NonCopyable &) { }