UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StringViewable.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/ContiguousRange.h
"
7
#include "
Traits/ElementType.h
"
8
#include <type_traits>
9
10
namespace
UE
11
{
12
// Concept which describes a type which can be bound to a TStringView.
13
template
<
typename
CharRangeType>
14
concept
CStringViewable
=
15
(
16
std::is_pointer_v<std::decay_t<CharRangeType>> &&
17
UE::CCharType<std::remove_pointer_t<std::decay_t<CharRangeType>
>>
18
) || (
19
UE::CContiguousRange<CharRangeType>
&&
20
UE::CCharType
<
TElementType_T<CharRangeType>
>
21
);
22
}
CharType.h
ContiguousRange.h
ElementType.h
TElementType_T
typename TElementType< T >::Type TElementType_T
Definition
ElementType.h:57
UE::CCharType
Definition
CharType.h:13
UE::CContiguousRange
Definition
ContiguousRange.h:14
UE::CStringViewable
Definition
StringViewable.h:14
UE
Definition
AdvancedWidgetsModule.cpp:13
Engine
Source
Runtime
Core
Public
Concepts
StringViewable.h
Generated by
1.9.8