You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
32 lines
728 B
C
32 lines
728 B
C
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "CoreTypes.h"
|
||
|
|
#include "Traits/ElementType.h"
|
||
|
|
#include "Traits/IsContiguousContainer.h"
|
||
|
|
|
||
|
|
namespace UE::DerivedData
|
||
|
|
{
|
||
|
|
|
||
|
|
template <typename CharType> class TSharedString;
|
||
|
|
|
||
|
|
using FSharedString = TSharedString<TCHAR>;
|
||
|
|
using FAnsiSharedString = TSharedString<ANSICHAR>;
|
||
|
|
using FWideSharedString = TSharedString<WIDECHAR>;
|
||
|
|
using FUtf8SharedString = TSharedString<UTF8CHAR>;
|
||
|
|
|
||
|
|
} // UE::DerivedData
|
||
|
|
|
||
|
|
template <typename CharType>
|
||
|
|
struct TIsContiguousContainer<UE::DerivedData::TSharedString<CharType>>
|
||
|
|
{
|
||
|
|
static constexpr bool Value = true;
|
||
|
|
};
|
||
|
|
|
||
|
|
template <typename CharType>
|
||
|
|
struct TElementType<UE::DerivedData::TSharedString<CharType>>
|
||
|
|
{
|
||
|
|
using Type = CharType;
|
||
|
|
};
|