USTRUCT(BlueprintType)
struct FFoo
{
UPROPERTY(EditAnywhere, BlueprintReadWrite)
int32 X;
static constexpr FFoo Invalid = FFoo(INT_MIN); // Error: Use of incomplete type.
Foo(x) : X(x){}
}
FFoo MyVar = FFoo::Invalid;
This error makes sense. But how do I fix it?