UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FindIf.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6
7namespace uLang {
8template <typename TFirst, typename TLast, typename TFunction>
10{
11 for (; First != Last; ++First)
12 {
14 {
15 break;
16 }
17 }
18 return First;
19}
20}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Function.h:839
Definition VVMEngineEnvironment.h:23
TFirst FindIf(TFirst First, TLast Last, TFunction Function)
Definition FindIf.h:9
ULANG_FORCEINLINE auto Invoke(FuncType &&Func, ArgTypes &&... Args) -> decltype(uLang::ForwardArg< FuncType >(Func)(uLang::ForwardArg< ArgTypes >(Args)...))
Definition Invoke.h:47