Why swears?
First rule if you work with UE4 and C++: Dont trust IntelliSense. It’s giving you a lot of errors, but a lot of them are nonsense, cause Unreal works a bit different than clean C++ which is used and understood by VS. It will compile fine though
Have a nice day!