Module |
|
Header |
/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataSharedString.h |
Include |
#include "DerivedDataSharedString.h" |
template<typename CharType>
class TSharedString
A reference to an immutable, shared, reference-counted string.
Prefer TStringView when there is a clear single point of ownership with a longer lifetime than the references to the string. This type is meant for cases where a shared string does not have an obvious owner or where the lifetime is not easy to manage.
The string is stored as a pointer to the start of the null-terminated string which is preceded by a 4-byte reference count and a 4-byte size.
Name | Description | |
---|---|---|
|
TSharedString() |
|
|
TSharedString ( |
|
|
TSharedString ( |
|
|
TSharedString ( |
Name | Description | |
---|---|---|
|
~TSharedString() |
Name | Description | ||
---|---|---|---|
|
const CharTy... |
operator*() |
|
|
TSharedStrin... |
operator= ( |
|
|
TSharedStrin... |
operator= ( |
|
|
TSharedStrin... |
operator= ( |
Name |
Description |
---|---|
NullChar |