UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IdentityFunctor.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
HAL/Platform.h
"
6
10
struct
FIdentityFunctor
11
{
12
template
<
typename
T>
13
UE_FORCEINLINE_HINT
constexpr
T&&
operator()
(T&&
Val
)
const
14
{
15
return
(T&&)
Val
;
16
}
17
};
Platform.h
UE_FORCEINLINE_HINT
#define UE_FORCEINLINE_HINT
Definition
Platform.h:723
Val
float Val(const FString &Value)
Definition
UnrealMath.cpp:3163
FIdentityFunctor
Definition
IdentityFunctor.h:11
FIdentityFunctor::operator()
UE_FORCEINLINE_HINT constexpr T && operator()(T &&Val) const
Definition
IdentityFunctor.h:13
Engine
Source
Runtime
Core
Public
Templates
IdentityFunctor.h
Generated by
1.9.8