Skip to content

Enable the latest C++ standard with Visual Studio #1287

Description

@naszta

If the following flag would be added to MSVC part, the MSVC C++14 and C++17 features could be used in the code (including std::string_view and variadic template std::less).

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++latest")

I'm happy to write the code (opt-out as the latest VS runs properly with all tests passed).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions