UPGRADE to C++17, because of metaprogramming in eoForges

Avoiding the use of make_from_tuple would be too error-prone.
This commit is contained in:
Johann Dreo 2020-04-28 15:53:14 +02:00
commit 2fa245e833
2 changed files with 2 additions and 1 deletions

View file

@ -15,7 +15,7 @@ project("ParadisEO")
## Language
enable_language(CXX)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
## Test the presence of a compiler
if("${CMAKE_CXX_COMPILER}" STREQUAL "" OR "${CMAKE_C_COMPILER}" STREQUAL "")

View file

@ -25,6 +25,7 @@
#include <string>
#include <tuple>
#include <utility>
// In case you want to debug arguments captured in tuples:
// template<typename Type, unsigned N, unsigned Last>