From 2fa245e8330db1fca0888faa81583fc2d7113b68 Mon Sep 17 00:00:00 2001 From: nojhan Date: Tue, 28 Apr 2020 15:53:14 +0200 Subject: [PATCH] UPGRADE to C++17, because of metaprogramming in eoForges Avoiding the use of make_from_tuple would be too error-prone. --- CMakeLists.txt | 2 +- eo/src/eoForge.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b125b0966..4580fb50d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 "") diff --git a/eo/src/eoForge.h b/eo/src/eoForge.h index f28cd8cda..f00d11e09 100644 --- a/eo/src/eoForge.h +++ b/eo/src/eoForge.h @@ -25,6 +25,7 @@ #include #include +#include // In case you want to debug arguments captured in tuples: // template