|
102 | 102 |
|
103 | 103 | | 製品名 | 製品バージョン | Visual C++ バージョン | `_MSC_VER` | `_MSC_FULL_VER` |
|
104 | 104 | |-----------------------------------------------|----------------|-----------------------|----------|---------------|
|
105 |
| -| Visual Studio 2017(ver15.5) | 15.5 | | 1912 | | |
106 |
| -| Visual Studio 2017(ver15.4.5) | 15.4.5 | 14.1 | 1911 | 191125547 | |
107 |
| -| Visual Studio 2017(ver15.4.4) | 15.4.4 | 14.1 | 1911 | 191125542 | |
108 |
| -| Visual Studio 2017(ver15.3.3) | 15.3.3 | 14.1 | 1911 | 191125507 | |
| 105 | +| Visual Studio 2017 | 15.5 | | 1912 | | |
| 106 | +| Visual Studio 2017 | 15.4.5 | 14.1 | 1911 | 191125547 | |
| 107 | +| Visual Studio 2017 | 15.4.4 | 14.1 | 1911 | 191125542 | |
| 108 | +| Visual Studio 2017 | 15.3.3 | 14.1 | 1911 | 191125507 | |
109 | 109 | | Visual Studio 2017 [^2] | 15.0 | 14.1 | 1910 | 191025017 |
|
110 | 110 | | Visual Studio 2017 RC | | 14.1 | 1910 | 191024930 |
|
111 | 111 | | Visual Studio 2015 Update3 | 14.0 | 14.0 | 1900 | 190024210 |
|
@@ -173,16 +173,18 @@ https://blogs.msdn.microsoft.com/bharry/2014/01/20/vs-2013-1-update-1-is-availab
|
173 | 173 | https://qiita.com/Chironian/items/1432eb8b59eb2eefcd2d
|
174 | 174 |
|
175 | 175 | ### C++14の機能を有効にする
|
176 |
| -- 14.0 Update 2までは、言語のバージョンを切り替える機能はなく、そのリリース時の最新言語バージョンが有効となる |
177 |
| -- 14.0 Update 3からは、`/std:c++14`オプションを使用する。とくに指定しない場合はデフォルトでC++14が有効となる |
178 | 176 |
|
| 177 | +- 14.0 Update 2までは、言語のバージョンを切り替える機能はなく、そのリリース時の最新言語バージョンが有効となる |
| 178 | +- 14.0 Update 3からは、`/std:c++14`オプションを使用する。とくに指定しない場合はデフォルトでC++14が有効となる。この時`_MSVC_LANG`マクロが`201402`になる |
179 | 179 |
|
180 | 180 | ### C++17の機能を有効にする
|
181 |
| -- 14.1からは、`/std:c++latest`オプションを使用する |
182 | 181 |
|
| 182 | +- 15.3からは、`/std:c++17`オプションを使用する。この時`_MSVC_LANG`マクロが`201703`になる |
183 | 183 |
|
184 | 184 | ### 最新バージョンの言語機能を有効にする
|
185 |
| -- 14.0 Update 3からは、`/std:c++latest`オプションを使用する |
186 | 185 |
|
| 186 | +- 14.0 Update 3からは、`/std:c++latest`オプションを使用する |
187 | 187 |
|
| 188 | +- [-std (Specify Language Standard Version) | Microsoft Docs](https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version) |
| 189 | +- [Predefined Macros | Microsoft Docs](https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros) |
188 | 190 | - [Standards version switches in the compiler](https://blogs.msdn.microsoft.com/vcblog/2016/06/07/standards-version-switches-in-the-compiler/)
|
0 commit comments