blob: 19c0ed1654785e038eed1bc9cf54311d921f027c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Inspired heavily by boost::noncopyable
#pragma once
namespace entityx {
namespace help {
class NonCopyable {
protected:
NonCopyable() = default;
~NonCopyable() = default;
NonCopyable(const NonCopyable&) = delete;
NonCopyable& operator = (const NonCopyable &) = delete;
};
} // namespace help
} // namespace entityx
|