Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

update c++ standard to c++17#16

Open
cleoold wants to merge 1 commit intoprasmussen:masterfrom
cleoold:patch-1
Open

update c++ standard to c++17#16
cleoold wants to merge 1 commit intoprasmussen:masterfrom
cleoold:patch-1

Conversation

@cleoold
Copy link
Copy Markdown

@cleoold cleoold commented May 2, 2020

the original compiler option version is too old

@sagar-barapatre
Copy link
Copy Markdown

This one's particularly for VSCode :
There's now a drop down (at least since VS 2017.3.5) where you can specifically select C++17. The available options are (under project > Properties > C/C++ > Language > C++ Language Standard)

1) ISO C++14 Standard. msvc command line option: /std:c++14
2) ISO C++17 Standard. msvc command line option: /std:c++17
3) The latest draft standard. msvc command line option: /std:c++latest

(I bet, once C++20 is out and more fully supported by Visual Studio it will be /std:c++20)

@cleoold
Copy link
Copy Markdown
Author

cleoold commented May 12, 2020

Sorry, I don't get it.

@sagar-barapatre
Copy link
Copy Markdown

I mean download VS Code for better syncing.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants