# Error: Use of incomplete type

**URL:** <https://forums.unrealengine.com/t/error-use-of-incomplete-type/359604>\
**Category:** C++\
**Tags:** Struct, unreal-engine, CPP, question\
**Created:** [June 4, 2016, 1:13pm UTC](https://forums.unrealengine.com/t/error-use-of-incomplete-type/359604 "2016-06-04T13:13:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Napoleonite](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Napoleonite](https://forums.unrealengine.com/u/Napoleonite)\
**Post date:** [June 4, 2016, 1:13pm UTC](https://forums.unrealengine.com/t/error-use-of-incomplete-type/359604/1 "2016-06-04T13:13:17Z")

</div>

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?
