Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TGuardedInt
Description
There are intentionally no overloads for the ordered comparison operators, because we have to decide what to do about validity as well. Instead, do this.
| Name | ComparisonValid |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/GuardedInt.h |
| Include Path | #include "Math/GuardedInt.h" |
bool ComparisonValid
(
const TGuardedInt Other
) const
true if *this and Other are both valid so they can be compared.