GrandOrgue / grandorgue

GrandOrgue software
Other
148 stars 40 forks source link

Switched to the c++17 standard #1845

Closed oleg68 closed 3 months ago

oleg68 commented 3 months ago

Last time I have been aught to reimplement some standard library functions that are already present in a newer c++ standards. It would be better to use their standard implementation instead.

So I switched GrandOrgue to the c++17. It is fully supported in GCC 9 shiped with ubuntu 20, where GitHub builds occur.

It is still able to build locally with an older c++ passing -CMAKE_CXX_STANDARD 11 to cmake unless the c++17 features are actually used in the code.