Noise Modeler Library  0.1
Library for procedurally generating noise-based terrains and other content
 All Classes Files Functions Variables Enumerations Enumerator Groups Pages
noncopyable.hpp
1 #ifndef NM_NONCOPYABLE_H
2 #define NM_NONCOPYABLE_H
3 
4 namespace nm {
5 
11 {
12 protected:
13  NonCopyable() = default;
14  virtual ~NonCopyable() = default;
15 private:
16  NonCopyable( const NonCopyable& other ) = delete; // non construction-copyable
17  NonCopyable& operator=( const NonCopyable& ) = delete; // non copyable;
18 };
19 
20 } // namespace nm
21 
22 #endif // NM_NONCOPYABLE_H
A super-class for non-copyable classes.
Definition: noncopyable.hpp:10