Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct FString : public TArray< wchar_t >
- {
- FString() {};
- FString(wchar_t* Other)
- {
- this->Max = this->Count = *Other ? (wcslen(Other) + 1) : 0;
- if (this->Count)
- this->Data = Other;
- };
- ~FString() {};
- FString operator = (wchar_t* Other)
- {
- if (this->Data != Other)
- {
- this->Max = this->Count = *Other ? (wcslen(Other) + 1) : 0;
- if (this->Count)
- this->Data = Other;
- }
- return *this;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment