diff --git a/Redcraft.Utility/Source/Public/Memory/MemoryOperator.h b/Redcraft.Utility/Source/Public/Memory/MemoryOperator.h index 4093999..17300d7 100644 --- a/Redcraft.Utility/Source/Public/Memory/MemoryOperator.h +++ b/Redcraft.Utility/Source/Public/Memory/MemoryOperator.h @@ -1,6 +1,7 @@ #pragma once #include "CoreTypes.h" +#include "Memory/Memory.h" #include "Templates/Utility.h" #include "Concepts/Comparable.h" #include "TypeTraits/TypeTraits.h" diff --git a/Redcraft.Utility/Source/Public/Miscellaneous/CoreMiscDefines.h b/Redcraft.Utility/Source/Public/Miscellaneous/CoreMiscDefines.h index 9cbdb52..199f74e 100644 --- a/Redcraft.Utility/Source/Public/Miscellaneous/CoreMiscDefines.h +++ b/Redcraft.Utility/Source/Public/Miscellaneous/CoreMiscDefines.h @@ -6,6 +6,16 @@ NAMESPACE_REDCRAFT_BEGIN NAMESPACE_MODULE_BEGIN(Redcraft) NAMESPACE_MODULE_BEGIN(Utility) +#define NORETURN [[noreturn]] +#define CARRIES_DEPENDENCY [[carries_dependency]] +#define DEPRECATED(Message) [[deprecated(Message)]] +#define FALLTHROUGH [[fallthrough]] +#define NODISCARD(Message) [[nodiscard(Message)]] +#define MAYBE_UNUSED [[maybe_unused]] +#define LIKELY [[likely]] +#define UNLIKELY [[unlikely]] +#define NO_UNIQUE_ADDRESS [[no_unique_address]] + constexpr size_t INDEX_NONE = -1; constexpr WIDECHAR UNICODE_BOM = 0xfeff;