C++11 support in Unreal Engine
Unreal Engine 4.20 introduced native support for C++11. This means that developers can now use modern features such as lambda expressions, move semantics, and range-based for loops in their projects without any issues. To take advantage of these features, simply set the “Use Modern C++” option when creating a new project or upgrade an existing one to the latest version of Unreal Engine.
C++14 support in Unreal Engine
Unreal Engine 4.23 introduced native support for C++14, allowing developers to use even more modern features such as structured bindings, if-const expressions, and fold expressions in their projects. To use these features, follow the same process as described above and set the “Use Modern C++” option when creating a new project or upgrading an existing one.
C++17 support in Unreal Engine
Unreal Engine 4.25 introduced native support for C++17, allowing developers to use even more advanced features such as constexpr if statements and structured bindings with initializers in their projects. To take advantage of these features, follow the same process as described above and set the “Use Modern C++” option when creating a new project or upgrading an existing one.
Summary
Unreal Engine supports multiple versions of C++, including C++11, C++14, and C++17. By using the “Use Modern C++” option when creating or upgrading a project, developers can take advantage of the latest features in C++ and create more efficient and modern projects within the engine.