galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
DontSerialize.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_FLAGS_DONTSERIALIZE_HPP_
9#define GALAXY_FLAGS_DONTSERIALIZE_HPP_
10
11namespace galaxy
12{
13 namespace flags
14 {
18 class DontSerialize final
19 {
20 public:
24 DontSerialize() noexcept = default;
25
29 DontSerialize(DontSerialize&&) noexcept = default;
30
34 DontSerialize& operator=(DontSerialize&&) noexcept = default;
35
39 ~DontSerialize() noexcept = default;
40
41 private:
45 DontSerialize& operator=(const DontSerialize&) = delete;
46
50 DontSerialize(const DontSerialize&) = delete;
51
52 private:
56 bool m_flag = true;
57 };
58 } // namespace flags
59} // namespace galaxy
60
61#endif
bool m_flag
Prevents empty type optimization.
DontSerialize() noexcept=default
Constructor.
Tag.cpp galaxy.
Definition Tag.cpp:13