UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RangePointerType.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Templates/UnrealTemplate.h" // For DeclVal
6
7namespace AlgoImpl
8{
12 template <typename RangeType>
14 {
15 using Type = decltype(&*DeclVal<RangeType&>().begin());
16 };
17
18 template <typename T, unsigned int N>
19 struct TRangePointerType<T[N]>
20 {
21 using Type = T*;
22 };
23}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition BinarySearch.h:10
T * Type
Definition RangePointerType.h:21
Definition RangePointerType.h:14
decltype(&*DeclVal< RangeType & >().begin()) Type
Definition RangePointerType.h:15