UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IsIntegral.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 TIsIntegral< bool> { enum { Value = true }; };
17template <> struct TIsIntegral< char> { enum { Value = true }; };
18template <> struct TIsIntegral<signed char> { enum { Value = true }; };
19template <> struct TIsIntegral<unsigned char> { enum { Value = true }; };
20template <> struct TIsIntegral< char16_t> { enum { Value = true }; };
21template <> struct TIsIntegral< char32_t> { enum { Value = true }; };
22template <> struct TIsIntegral< wchar_t> { enum { Value = true }; };
23template <> struct TIsIntegral< short> { enum { Value = true }; };
24template <> struct TIsIntegral<unsigned short> { enum { Value = true }; };
25template <> struct TIsIntegral< int> { enum { Value = true }; };
26template <> struct TIsIntegral<unsigned int> { enum { Value = true }; };
27template <> struct TIsIntegral< long> { enum { Value = true }; };
28template <> struct TIsIntegral<unsigned long> { enum { Value = true }; };
29template <> struct TIsIntegral< long long> { enum { Value = true }; };
30template <> struct TIsIntegral<unsigned long long> { enum { Value = true }; };
31
32template <typename T> struct TIsIntegral<const T> { enum { Value = TIsIntegral<T>::Value }; };
33template <typename T> struct TIsIntegral< volatile T> { enum { Value = TIsIntegral<T>::Value }; };
34template <typename T> struct TIsIntegral<const volatile T> { enum { Value = TIsIntegral<T>::Value }; };
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint_least16_t char16_t
Definition MarketplaceKitWrapper.h:64
uint_least32_t char32_t
Definition MarketplaceKitWrapper.h:65
const bool
Definition NetworkReplayStreaming.h:178
Definition IsIntegral.h:12
@ Value
Definition IsIntegral.h:13