]> git.tdb.fi Git - libs/core.git/blob - source/core/noncopyable.h
Add move semantics to Variant
[libs/core.git] / source / core / noncopyable.h
1 #ifndef MSP_CORE_NONCOPYABLE_H_
2 #define MSP_CORE_NONCOPYABLE_H_
3
4 namespace Msp {
5
6 class NonCopyable
7 {
8 protected:
9         NonCopyable() = default;
10         NonCopyable(const NonCopyable &) = delete;
11         NonCopyable &operator=(const NonCopyable &) = delete;
12         ~NonCopyable() = default;
13 };
14
15 } // namespace Msp
16
17 #endif