UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IsSigned.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
6
10template <typename T>
12{
13 enum { Value = false };
14};
15
16template <> struct TIsSigned<int8> { enum { Value = true }; };
17template <> struct TIsSigned<int16> { enum { Value = true }; };
18template <> struct TIsSigned<int32> { enum { Value = true }; };
19template <> struct TIsSigned<int64> { enum { Value = true }; };
20
21template <typename T> struct TIsSigned<const T> { enum { Value = TIsSigned<T>::Value }; };
22template <typename T> struct TIsSigned< volatile T> { enum { Value = TIsSigned<T>::Value }; };
23template <typename T> struct TIsSigned<const volatile T> { enum { Value = TIsSigned<T>::Value }; };
FPlatformTypes::int16 int16
A 16-bit signed integer.
Definition Platform.h:1123
FPlatformTypes::int8 int8
An 8-bit signed integer.
Definition Platform.h:1121
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition Platform.h:1127
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition IsSigned.h:12
@ Value
Definition IsSigned.h:13