20template <
class InEnumType>
23 static_assert(std::is_enum_v<InEnumType> && std::is_convertible_v<InEnumType, int>,
"TEnumAsByte is not intended for use with enum classes - please derive your enum class from uint8 instead.");
128#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_6
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
UE_FORCEINLINE_HINT constexpr uint32 GetTypeHash(const TEnumAsByte< T > &Enum)
Definition EnumAsByte.h:120
Definition EnumAsByte.h:22
constexpr uint8 GetIntValue() const
Definition EnumAsByte.h:108
UE_FORCEINLINE_HINT constexpr TEnumAsByte(uint8 InValue)
Definition EnumAsByte.h:57
InEnumType EnumType
Definition EnumAsByte.h:26
constexpr TEnumAsByte()=default
constexpr TEnumAsByte & operator=(const TEnumAsByte &)=default
UE_FORCEINLINE_HINT constexpr TEnumAsByte(EnumType InValue)
Definition EnumAsByte.h:37
constexpr EnumType GetValue() const
Definition EnumAsByte.h:98
constexpr TEnumAsByte(const TEnumAsByte &)=default
constexpr bool operator==(EnumType InValue) const
Definition EnumAsByte.h:69
constexpr bool operator==(TEnumAsByte InValue) const
Definition EnumAsByte.h:80
UE_FORCEINLINE_HINT constexpr TEnumAsByte(int32 InValue)
Definition EnumAsByte.h:47
Definition IsPODType.h:12
@ Value
Definition IsPODType.h:13