How to change the language standard to c++17

are you compiling from source?
there should be checks in the Compilation Tool Chain that check for the C++ version, so the checks that call out C++14 or older would be in there.

If you are using the installed engine then your out of luck and will probably need to migrate your project to a newer engine version to get the library changes.

the other option would be to find something similar to <std::Filesystem> for C++14 and append that to the engine.

though if your trying to just do fileIO then are you sure that the existing functionality doesn’t already work:

  • FFileHelper gives Read/Write using byte arrays
  • FFileHandle Read/Write of Binaries
  • TTextFileHelper Read/Write of “text” files
  • FJsonObjectholding and working with JSON
  • TPlatformFile interface for “platform-independent” that abstract file system

all of these are available in 4.27 already.

1 Like