C Plus Plus Tips - jgoffeney/Cesium4Unreal GitHub Wiki

Back

Enabling C++17

The Cesium plugin uses C++17 features

Example

For project GdalPlugin update the constructor within GdalPlugin.Build.cs by replacing the existing PCHUsage line with the following:

PCHUsage = PCHUsageMode.NoSharedPCHs;
PrivatePCHHeaderFile = "GdalPlugin.h";
CppStandard = CppStandardVersion.Cpp17;

Pure Virtual Functions

Pure virtual functions in C++ seem to cause problems with the Unreal build system. Provide a default implementation in a base class and override in your child class.