mFrame
載入中...
搜尋中...
無符合項目
NonMoveable.h
1
7#ifndef MFRAME_1682CFA2_801C_4792_A2E5_9E7D0B4261F2
8#define MFRAME_1682CFA2_801C_4792_A2E5_9E7D0B4261F2
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15#include "./../lang/Interface.h"
16
17//----------------------------------------------------------------------------------------
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace ufm::lang {
23 struct NonMoveable;
24} // namespace ufm::lang
25
26/* ***************************************************************************************
27 * Class/Interface/Struct/Enum
28 */
29
40 /* *************************************************************************************
41 * Method
42 */
43
44 /* *************************************************************************************
45 * Default Method
46 */
47
54 inline NonMoveable(void) = default;
55
64 inline NonMoveable(NonMoveable&&) = delete;
65
75 inline NonMoveable& operator=(NonMoveable&&) = delete;
76};
77
78/* ***************************************************************************************
79 * End of file
80 */
81
82#endif /* MFRAME_1682CFA2_801C_4792_A2E5_9E7D0B4261F2 */
Definition Appendable.h:23
禁止移動的結構
Definition NonMoveable.h:39
NonMoveable & operator=(NonMoveable &&)=delete
禁止移動賦值運算子
NonMoveable(NonMoveable &&)=delete
禁止移動建構子
NonMoveable(void)=default
建構一個新的 NonMoveable 物件