UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CompatibleStringViewable.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
Concepts/CharType.h
"
6
#include "
Concepts/CompatibleCharType.h
"
7
#include "
Concepts/ContiguousRange.h
"
8
#include "
Traits/ElementType.h
"
9
#include <type_traits>
10
11
namespace
UE
12
{
13
// Concept which describes a type which can be bound to a TStringView of a given char encoding type.
14
template
<
typename
CharRangeType,
typename
CharEncodingType>
15
concept
CCompatibleStringViewable
=
16
(
17
std::is_pointer_v<std::decay_t<CharRangeType>> &&
18
UE::CCharType<std::remove_pointer_t<std::decay_t<CharRangeType>
>> &&
19
UE::CCompatibleCharType<std::remove_pointer_t<std::decay_t<CharRangeType>
>,
CharEncodingType
>
20
) || (
21
UE::CContiguousRange<CharRangeType>
&&
22
UE::CCharType
<
TElementType_T<CharRangeType>
> &&
23
UE::CCompatibleCharType
<
TElementType_T<CharRangeType>
,
CharEncodingType
>
24
);
25
}
CharType.h
CompatibleCharType.h
ContiguousRange.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
ElementType.h
TElementType_T
typename TElementType< T >::Type TElementType_T
Definition
ElementType.h:57
UE::CCharType
Definition
CharType.h:13
UE::CCompatibleCharType
Definition
CompatibleCharType.h:21
UE::CCompatibleStringViewable
Definition
CompatibleStringViewable.h:15
UE::CContiguousRange
Definition
ContiguousRange.h:14
UE
Definition
AdvancedWidgetsModule.cpp:13
Engine
Source
Runtime
Core
Public
Concepts
CompatibleStringViewable.h
Generated by
1.9.8