UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IsFloatingPoint.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 TIsFloatingPoint<float> { enum { Value = true }; };
17template <> struct TIsFloatingPoint<double> { enum { Value = true }; };
18template <> struct TIsFloatingPoint<long double> { enum { Value = true }; };
19
20template <typename T> struct TIsFloatingPoint<const T> { enum { Value = TIsFloatingPoint<T>::Value }; };
21template <typename T> struct TIsFloatingPoint< volatile T> { enum { Value = TIsFloatingPoint<T>::Value }; };
22template <typename T> struct TIsFloatingPoint<const volatile T> { enum { Value = TIsFloatingPoint<T>::Value }; };
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
USkinnedMeshComponent float
Definition SkinnedMeshComponent.h:60
Definition IsFloatingPoint.h:12
@ Value
Definition IsFloatingPoint.h:13