diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a604b7e9a..0d0a0b229 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -79,8 +79,8 @@ * Class names use `InitialCapsNames` * Methods use `camelCaseNames` * Do not indent the contents of namespaces -* Code should follow the C++14 standard, with minimum required compiler versions - GCC 6.1, Clang 3.4, MSVC 14.1 (2017) and Intel 17.0. +* Code should follow the C++17 standard, with minimum required compiler versions + GCC 7.0, Clang 4.0, MSVC 14.14 (Visual Studio 2017 version 15.7) and Intel 19.0. * Avoid manual memory management (that is, `new` and `delete`), preferring to use standard library containers, as well as `std::unique_ptr` and `std::shared_ptr` when dynamic allocation is required. diff --git a/SConstruct b/SConstruct index 418913116..bf4c4266c 100644 --- a/SConstruct +++ b/SConstruct @@ -219,8 +219,8 @@ config_options = [ options with spaces, for example, "cxx_flags='-g -Wextra -O3 --std=c++14'" """, { - "cl": "/EHsc", - "default": "-std=c++14" + "cl": "/EHsc /std:c++17", + "default": "-std=c++17" }), Option( "CC",