Operator Overloads

Overview Dear Community, Sooooo This is one reason why I love UE4 C++ so much! We can do anything! Below is the C++ code for making two operators that I've overloaded for use with an FString and a ...

Updated over 4 years ago Edit Page Revisions

Overview

Dear Community,

Sooooo

This is one reason why I love UE4 C++ so much!

We can do anything!

Below is the C++ code for making two operators that I've overloaded for use with an FString and a Float

Code Simplification

This enables me to go from

(Str is a FString)

Str = FString::SanitizeFloat(TheFloat);

to

Str