| 12345678910111213141516171819202122232425 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- namespace BansheeEngine
- {
- /** @addtogroup General
- * @{
- */
- /** Interface that prevents copies be made of any type that implements it. */
- class INonCopyable
- {
- protected:
- INonCopyable() = default;
- ~INonCopyable() = default;
- private:
- INonCopyable(const INonCopyable&) = delete;
- INonCopyable& operator=(const INonCopyable&) = delete;
- };
- /** @} */
- }
|