1 | #pragma once |
---|---|
2 | |
3 | namespace mbgl { namespace util { |
4 | |
5 | namespace non_copyable_ |
6 | { |
7 | |
8 | class noncopyable |
9 | { |
10 | public: |
11 | noncopyable( noncopyable const& ) = delete; |
12 | noncopyable& operator=(noncopyable const& ) = delete; |
13 | |
14 | protected: |
15 | constexpr noncopyable() = default; |
16 | ~noncopyable() = default; |
17 | }; |
18 | } // namespace non_copyable_ |
19 | |
20 | using noncopyable = non_copyable_::noncopyable; |
21 | |
22 | } // namespace util |
23 | } // namespace mbgl |
24 |