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:
parent
b351c600da
commit
2fa245e833
2 changed files with 2 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ project("ParadisEO")
|
||||||
|
|
||||||
## Language
|
## Language
|
||||||
enable_language(CXX)
|
enable_language(CXX)
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
|
||||||
## Test the presence of a compiler
|
## Test the presence of a compiler
|
||||||
if("${CMAKE_CXX_COMPILER}" STREQUAL "" OR "${CMAKE_C_COMPILER}" STREQUAL "")
|
if("${CMAKE_CXX_COMPILER}" STREQUAL "" OR "${CMAKE_C_COMPILER}" STREQUAL "")
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
// In case you want to debug arguments captured in tuples:
|
// In case you want to debug arguments captured in tuples:
|
||||||
// template<typename Type, unsigned N, unsigned Last>
|
// template<typename Type, unsigned N, unsigned Last>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue