1//************************************ bs::framework - Copyright 2018 Marko Pintera **************************************//
2//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
3#pragma once
4
5namespace bs
6{
7 /** @addtogroup General
8 * @{
9 */
10
11 /** Interface that prevents copies be made of any type that implements it. */
12 class INonCopyable
13 {
14 protected:
15 INonCopyable() = default;
16 ~INonCopyable() = default;
17
18 private:
19 INonCopyable(const INonCopyable&) = delete;
20 INonCopyable& operator=(const INonCopyable&) = delete;
21 };
22
23 /** @} */
24}
25