Config: check for 'long long' support
[sol.git] / sol / noncopyable.hpp
blob3dd40ab44cdb814a1a9e6d10cf24c98a1b1809c0
1 #if !defined(sol_noncopyable_hpp_included)
2 #define sol_noncopyable_hpp_included
3 /// \addtogroup sol
4 /// \{
7 /**
8 * \file sol/noncopyable.hpp
9 * \brief Convenience base class providing copy protection for inherited classes
10 * \author Sven Suursoho
14 namespace sol {
17 /// Classes inherited from sol::noncopyable can't be copied
18 class noncopyable
20 protected:
22 noncopyable () {}
23 ~noncopyable () {}
26 private:
28 noncopyable (noncopyable const &);
29 noncopyable &operator= (noncopyable const &);
33 } // namespace sol
36 /// \}
37 #endif // sol_noncopyable_hpp_included