KhronosGroup / Vulkan-Samples

One stop solution for all Vulkan samples
Apache License 2.0
4.36k stars 650 forks source link

[For discussion] Update C++ standard requirement to 20 #1167

Open SaschaWillems opened 2 months ago

SaschaWillems commented 2 months ago

I think we discussed this in one of our meetings, but wanted to write it down so we won't forget about it. Right now we use C++17, but updating to C++20 would give us e.g. designated initializes. Using them would improve code readability in many places.

Not sure if all our target platforms support C++20 though.

gary-sweet commented 2 months ago

In addition to a recent compiler toolchain, if we are thinking about using modules we would also need to bump the minimum cmake version to 3.28