From f01242b529534682eb067b4d519893a4887aef33 Mon Sep 17 00:00:00 2001 From: Kurata Sayuri Date: Mon, 26 Feb 2018 16:18:55 +0900 Subject: [PATCH 1/2] =?UTF-8?q?MSVC=E3=81=AE=E3=83=90=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E8=A1=A8=E8=A8=98=E3=82=92=E7=B5=B1=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- implementation.md | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/implementation.md b/implementation.md index aed6f43a87..80f9129b71 100644 --- a/implementation.md +++ b/implementation.md @@ -104,15 +104,15 @@ | 製品名 | 製品バージョン | Visual C++ バージョン | `_MSC_VER` | `_MSC_FULL_VER` | |-----------------------------------------------|----------------|-----------------------|----------|---------------| -| Visual Studio 2017 | 15.5.7 | 14.1 | 1912 | 191225835 | -| Visual Studio 2017 | 15.5.6 | 14.1 | 1912 | 191225835 | -| Visual Studio 2017 | 15.5.4 | 14.1 | 1912 | 191225834 | -| Visual Studio 2017 | 15.5.2 | 14.1 | 1912 | 191225831 | -| Visual Studio 2017 | 15.4.5 | 14.1 | 1911 | 191125547 | -| Visual Studio 2017 | 15.4.4 | 14.1 | 1911 | 191125542 | -| Visual Studio 2017 | 15.3.3 | 14.1 | 1911 | 191125507 | -| Visual Studio 2017 [§注1] | 15.0 | 14.1 | 1910 | 191025017 | -| Visual Studio 2017 RC | | 14.1 | 1910 | 191024930 | +| Visual Studio 2017 Update5 | 15.5.7 | 14.12 | 1912 | 191225835 | +| Visual Studio 2017 Update5 | 15.5.6 | 14.12 | 1912 | 191225835 | +| Visual Studio 2017 Update5 | 15.5.4 | 14.12 | 1912 | 191225834 | +| Visual Studio 2017 Update5 | 15.5.2 | 14.12 | 1912 | 191225831 | +| Visual Studio 2017 Update4 | 15.4.5 | 14.11 | 1911 | 191125547 | +| Visual Studio 2017 Update4 | 15.4.4 | 14.11 | 1911 | 191125542 | +| Visual Studio 2017 Update3 | 15.3.3 | 14.11 | 1911 | 191125507 | +| Visual Studio 2017 [§注1] | 15.0 | 14.10 | 1910 | 191025017 | +| Visual Studio 2017 RC | | 14.10 | 1910 | 191024930 | | Visual Studio 2015 Update3 | 14.0 | 14.0 | 1900 | 190024210 | | Visual Studio 2015 Update2 | 14.0 | 14.0 | 1900 | 190023918 | | Visual Studio 2015 Update2 RC | 14.0 | 14.0 | 1900 | 190023824 | @@ -178,18 +178,23 @@ 2. **^** Visual Studio 2013 Update1では`_MSC_FULL_VER`は変更されなかった。 +### C++11の機能を有効にする + +- 全ての機能が常に有効となっている + ### C++14の機能を有効にする -- 14.0 Update 2までは、言語のバージョンを切り替える機能はなく、そのリリース時の最新言語バージョンが有効となる -- 14.0 Update 3からは、`/std:c++14`オプションを使用する。とくに指定しない場合はデフォルトでC++14が有効となる。この時`_MSVC_LANG`マクロが`201402`になる +- 全ての機能が常に有効となっている +- 2015 Update 3から`/std:c++14`オプションが導入されたが既定値でありC++14を無効化する機能は提供されていない。`_MSVC_LANG`マクロの値は`201402`になる ### C++17の機能を有効にする -- 15.3からは、`/std:c++17`オプションを使用する。この時`_MSVC_LANG`マクロが`201703`になる +- 2015 Update 2までに実装された機能については、互換性の観点から常に有効となっている +- 2015 Update 3以降に実装された機能については、`/std:c++17`オプションを使用する。`_MSVC_LANG`マクロの値は`201703`になる ### 最新バージョンの言語機能を有効にする -- 14.0 Update 3からは、`/std:c++latest`オプションを使用する +- 2015 Update 3で導入された`/std:c++latest`オプションを使用する - [-std (Specify Language Standard Version) | Microsoft Docs](https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version) - [Predefined Macros | Microsoft Docs](https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros) - [Standards version switches in the compiler](https://blogs.msdn.microsoft.com/vcblog/2016/06/07/standards-version-switches-in-the-compiler/) From 8916201ee519c6be733eb4bfa0bb9c8870d1be84 Mon Sep 17 00:00:00 2001 From: Kurata Sayuri Date: Tue, 27 Feb 2018 07:56:25 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E8=A8=80=E8=AA=9E=E6=A9=9F=E8=83=BD?= =?UTF-8?q?=E3=81=AE=E5=88=87=E3=82=8A=E6=9B=BF=E3=81=88=E3=81=AB=E3=81=A4?= =?UTF-8?q?=E3=81=84=E3=81=A6=E6=8C=87=E6=91=98=E3=82=92=E8=B8=8F=E3=81=BE?= =?UTF-8?q?=E3=81=88=E3=81=A6=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- implementation.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/implementation.md b/implementation.md index 80f9129b71..b0c2477582 100644 --- a/implementation.md +++ b/implementation.md @@ -180,21 +180,21 @@ ### C++11の機能を有効にする -- 全ての機能が常に有効となっている +- C++11は常に有効である ### C++14の機能を有効にする -- 全ての機能が常に有効となっている +- C++14は常に有効である - 2015 Update 3から`/std:c++14`オプションが導入されたが既定値でありC++14を無効化する機能は提供されていない。`_MSVC_LANG`マクロの値は`201402`になる ### C++17の機能を有効にする -- 2015 Update 2までに実装された機能については、互換性の観点から常に有効となっている +- 2015 Update 2以前に実装された機能については、互換性の観点から常に有効である - 2015 Update 3以降に実装された機能については、`/std:c++17`オプションを使用する。`_MSVC_LANG`マクロの値は`201703`になる ### 最新バージョンの言語機能を有効にする -- 2015 Update 3で導入された`/std:c++latest`オプションを使用する +- 2015 Update 3以降は`/std:c++latest`オプションを使用する - [-std (Specify Language Standard Version) | Microsoft Docs](https://docs.microsoft.com/en-us/cpp/build/reference/std-specify-language-standard-version) - [Predefined Macros | Microsoft Docs](https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros) - [Standards version switches in the compiler](https://blogs.msdn.microsoft.com/vcblog/2016/06/07/standards-version-switches-in-the-compiler/)