| Fling Engine 0.00.1 Fling Engine is a game engine written in Vulkan

NonCopyable.hpp
Go to the documentation of this file.
1 #pragma once
2
3 #include "Platform.h" // FLING_API def
4
5 namespace Fling
6 {
10 class FLING_API NonCopyable
11 {
12 protected:
13 NonCopyable() = default;
14
15 virtual ~NonCopyable() = default;
16
17 public:
18 NonCopyable(const NonCopyable&) = delete;
19
20 NonCopyable(NonCopyable&&) = default;
21
22 NonCopyable& operator=(const NonCopyable&) = delete;
23
24 NonCopyable& operator=(NonCopyable&&) = default;
25 };
26 }
Fling::NonCopyable
Class that removes the copy operator and constructor.
Definition: NonCopyable.hpp:10
Fling
Definition: Engine.h:29
Platform.h