Skip to content

Repo sync for protected branch #4887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/build/cmake-projects-in-visual-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: "CMake projects in Visual Studio"
description: "How to create and build C++ projects using CMake in Visual Studio."
ms.date: 02/14/2022
helpviewer_keywords: ["CMake in Visual C++"]
f1_keywords: ["VS.ToolsOptionsPages.CMake.General"]
---
# CMake projects in Visual Studio

Expand Down
72 changes: 36 additions & 36 deletions docs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"ms.date": "11/16/2016",
"ms.topic": "conceptual",
"audience": "developer",
"ms.prod": "visual-cpp",
"ms.service": "visual-cpp",
"ms.tgt_pltfrm": "Windows",
"ms.workload": [
"cplusplus"
Expand Down Expand Up @@ -117,41 +117,41 @@
"standard-library/**.md": "reference",
"windows/attributes/**.md": "reference"
},
"ms.technology": {
"assembler/**.md": "cpp-masm",
"attributes/**.md": "cpp-cli",
"atl/**.md": "cpp-atl",
"atl-mfc-shared/**.md": "cpp-mfc",
"build/**.md": "cpp-tools",
"build-insights/**.md": "cpp-tools",
"c-language/**.md": "cpp-c-language",
"c-runtime-library/**.md": "cpp-ucrt",
"cloud/**.md": "cpp-azure",
"code-quality/**.md": "cpp-tools",
"cpp/**.md": "cpp-language",
"cppcx/**.md": "cpp-cx",
"cross-platform/**.md": "cpp-tools",
"data/**.md": "cpp-data",
"dotnet/**.md": "cpp-cli",
"error-messages/**.md": "cpp-diagnostics",
"extensions/**.md": "cpp-cli",
"get-started/**.md": "cpp-language",
"ide/**.md": "cpp-ide",
"intrinsics/**.md": "cpp-tools",
"linux/**.md": "cpp-linux",
"mfc/**.md": "cpp-mfc",
"overview/**.md": "cpp-tools",
"parallel/amp/**.md": "cpp-amp",
"parallel/concrt/**.md": "cpp-concrt",
"parallel/**.md": "cpp-parallel",
"porting/**.md": "cpp-language",
"preprocessor/**.md": "cpp-language",
"safeint/**.md": "cpp-standard-libraries",
"sanitizers/**.md": "cpp-tools",
"security/**.md": "cpp-windows",
"standard-library/**.md": "cpp-standard-libraries",
"text/**.md": "cpp-windows",
"windows/**.md": "cpp-windows"
"ms.subservice": {
"assembler/**.md": "masm",
"attributes/**.md": "cli-lang",
"atl/**.md": "atl-library",
"atl-mfc-shared/**.md": "mfc-library",
"build/**.md": "tools",
"build-insights/**.md": "tools",
"c-language/**.md": "c-language",
"c-runtime-library/**.md": "ucrt",
"cloud/**.md": "azure-development",
"code-quality/**.md": "tools",
"cpp/**.md": "cpp-lang",
"cppcx/**.md": "cpp-cx-lang",
"cross-platform/**.md": "tools",
"data/**.md": "data-access",
"dotnet/**.md": "cli-lang",
"error-messages/**.md": "errors-warnings",
"extensions/**.md": "cli-lang",
"get-started/**.md": "cpp-lang",
"ide/**.md": "ide",
"intrinsics/**.md": "tools",
"linux/**.md": "linux-development",
"mfc/**.md": "mfc-library",
"overview/**.md": "tools",
"parallel/amp/**.md": "parallel-programming",
"parallel/concrt/**.md": "parallel-programming",
"parallel/**.md": "parallel-programming",
"porting/**.md": "cpp-lang",
"preprocessor/**.md": "cpp-lang",
"safeint/**.md": "standard-libraries",
"sanitizers/**.md": "tools",
"security/**.md": "windows-development",
"standard-library/**.md": "standard-libraries",
"text/**.md": "windows-development",
"windows/**.md": "windows-development"
},
"author": {
"index.md": "tylermsft",
Expand Down
3 changes: 1 addition & 2 deletions docs/get-started/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ metadata:
author: tylermsft
ms.author: twhitney
manager: markl
ms.prod: visual-cpp
ms.technology: vs-acquisition
ms.service: visual-cpp
dev_langs:
- C++

Expand Down
2 changes: 1 addition & 1 deletion docs/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ brand: visual-studio
metadata:
title: Microsoft C/C++ Documentation
description: Learn how to use C++ to develop applications, services, and tools for your platforms and devices.
ms.prod: visual-cpp
ms.service: visual-cpp
ms.topic: hub-page
author: tylermsft
ms.author: twhitney
Expand Down
3 changes: 2 additions & 1 deletion docs/overview/cpp-conformance-improvements-2017.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: "C++ conformance improvements in Visual Studio 2017"
description: "Microsoft C/C++ in Visual Studio 2017 is progressing toward full conformance with the C++20 language standard."
ms.date: 04/18/2021
ms.technology: "cpp-language"
ms.service: "visual-cpp"
ms.subservice: "cpp-lang"
---
# C++ Conformance improvements, behavior changes, and bug fixes in Visual Studio 2017

Expand Down
7 changes: 4 additions & 3 deletions docs/overview/cpp-conformance-improvements-2019.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: "C++ conformance improvements in Visual Studio 2019"
description: "Microsoft C++ in Visual Studio is progressing toward full conformance with the C++20 language standard."
ms.date: 06/29/2022
ms.technology: "cpp-language"
ms.service: "visual-cpp"
ms.subservice: "cpp-lang"
---
# C++ Conformance improvements, behavior changes, and bug fixes in Visual Studio 2019

Expand Down Expand Up @@ -464,7 +465,7 @@ We fixed a minor type traits bug, where `add_const_t` and related functions are

### char8_t

[P0482r6](https://wg21.link/p0482r6). C++20 adds a new character type that is used to represent UTF-8 code units. `u8` string literals in C++20 have type `const char8_t[N]` instead of `const char[N]`, which was the case previously. Similar changes have been proposed for the C standard in [N2231](https://wg14.link/n2231). Suggestions for **`char8_t`** backward compatibility remediation are given in [P1423r3](https://wg21.link/p1423r3). The Microsoft C++ compiler adds support for **`char8_t`** in Visual Studio 2019 version 16.1 when you specify the [`/Zc:char8_t`](../build/reference/zc-char8-t.md) compiler option. It can be reverted to C++17 behavior via **`/Zc:char8_t-`**. The EDG compiler that powers IntelliSense doesn't yet support it in Visual Studio 2019 version 16.1. You may see spurious IntelliSense-only errors that don't affect the actual compilation.
[P0482r6](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0482r6.html). C++20 adds a new character type that is used to represent UTF-8 code units. `u8` string literals in C++20 have type `const char8_t[N]` instead of `const char[N]`, which was the case previously. Similar changes have been proposed for the C standard in [N2231](https://wg14.link/n2231). Suggestions for **`char8_t`** backward compatibility remediation are given in [P1423r3](https://wg21.link/p1423r3). The Microsoft C++ compiler adds support for **`char8_t`** in Visual Studio 2019 version 16.1 when you specify the [`/Zc:char8_t`](../build/reference/zc-char8-t.md) compiler option. It can be reverted to C++17 behavior via **`/Zc:char8_t-`**. The EDG compiler that powers IntelliSense doesn't yet support it in Visual Studio 2019 version 16.1. You may see spurious IntelliSense-only errors that don't affect the actual compilation.

#### Example

Expand Down Expand Up @@ -2078,7 +2079,7 @@ With this change, a destructor is also potentially throwing if it has a virtual

Core Working Group issue [CWG 2352](https://wg21.link/cwg2352) deals with an inconsistency between the reference binding rules and changes to type similarity. The inconsistency was introduced in earlier Defect Reports (such as [CWG 330](https://wg21.link/cwg330)). This affected Visual Studio 2019 versions 16.0 through 16.8.

With this change, starting in Visual Studio 2019 version 16.9, code that previously bound a reference to a temporary in Visual Studio 2019 version 16.0 throught 16.8 may now bind directly when the types involved differ only by cv-qualifiers.
With this change, starting in Visual Studio 2019 version 16.9, code that previously bound a reference to a temporary in Visual Studio 2019 version 16.0 through 16.8 may now bind directly when the types involved differ only by cv-qualifiers.

Visual Studio 2019 version 16.9 implements the changed behavior in all **`/std`** compiler modes. It's potentially a source breaking change.

Expand Down
3 changes: 2 additions & 1 deletion docs/overview/cpp-conformance-improvements.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: "C++ conformance improvements in Visual Studio 2022"
description: "Microsoft C++ in Visual Studio is improving standards conformance and fixing bugs regularly."
ms.date: 12/07/2023
ms.technology: "cpp-language"
ms.service: "visual-cpp"
ms.subservice: "cpp-lang"
---
# C++ Conformance improvements, behavior changes, and bug fixes in Visual Studio 2022

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: "How to report a problem with the Microsoft C++ toolset"
description: How to create a good problem report and repro information for the Microsoft C++ toolset.
ms.date: "09/24/2019"
ms.technology: "cpp-ide"
ms.service: "visual-cpp"
ms.subservice: "ide"
author: "tylermsft"
ms.author: "twhitney"
---
Expand Down
3 changes: 2 additions & 1 deletion docs/overview/supported-platforms-visual-cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
description: "Learn more about: Supported Platforms (Visual C++)"
title: "Supported Platforms (Visual C++)"
ms.date: 11/09/2021
ms.technology: "cpp-tools"
ms.service: "visual-cpp"
ms.subservice: "tools"
helpviewer_keywords: ["Visual C++, platforms supported", "platforms [C++]"]
---
# Supported platforms (Visual C++)
Expand Down
3 changes: 2 additions & 1 deletion docs/overview/visual-cpp-help-and-community.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: "Microsoft C/C++ help and community"
description: "This article lists various resources for help and information on Visual Studio and the Microsoft C/C++ compiler and tools."
ms.date: 03/03/2022
ms.technology: "cpp-ide"
ms.service: "visual-cpp"
ms.subservice: "ide"
---
# Microsoft C/C++ help and community

Expand Down
3 changes: 2 additions & 1 deletion docs/overview/visual-cpp-in-visual-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: "C and C++ in Visual Studio"
description: "Learn how to use the Microsoft C/C++ compiler and related tools to develop C++ and assembly programs for Windows, Linux, Android, and iOS."
ms.date: 09/29/2022
ms.technology: "cpp-ide"
ms.service: "visual-cpp"
ms.subservice: "ide"
helpviewer_keywords: ["Visual C++, home page"]
---
# C and C++ in Visual Studio
Expand Down
3 changes: 2 additions & 1 deletion docs/overview/visual-cpp-language-conformance.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: "Microsoft C/C++ language conformance"
description: "Microsoft C and C++ conformance updates by Visual Studio version."
ms.date: 03/01/2023
ms.technology: "cpp-language"
ms.service: "visual-cpp"
ms.subservice: "cpp-lang"
---
# Microsoft C/C++ language conformance by Visual Studio version

Expand Down
4 changes: 2 additions & 2 deletions docs/overview/visual-cpp-samples.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: "Visual Studio C++ Samples"
description: "Summary descriptions of the samples available in the archived Visual Studio C++ samples repository on GitHub."
ms.date: "03/23/2020"
ms.technology: "cpp-language"
ms.assetid: 76798022-5886-48e7-a7f2-f99352b15cbf
ms.service: "visual-cpp"
ms.subservice: "cpp-lang"
---
# Visual Studio C++ Samples

Expand Down
3 changes: 2 additions & 1 deletion docs/overview/what-s-new-for-cpp-2017.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: "What's new for C++ in Visual Studio 2017"
description: "The new features and fixes in the Microsoft C/C++ compiler and tools in Visual Studio 2017."
ms.date: 10/04/2021
ms.technology: "cpp-ide"
ms.service: "visual-cpp"
ms.subservice: "ide"
ms.custom: intro-whats-new
---
# What's new for C++ in Visual Studio 2017
Expand Down
3 changes: 2 additions & 1 deletion docs/overview/what-s-new-for-cpp-2019.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: "What's new for C++ in Visual Studio 2019"
description: "The new features and fixes in the Microsoft C/C++ compiler and tools in Visual Studio 2019."
ms.date: 10/22/2021
ms.technology: "cpp-ide"
ms.service: "visual-cpp"
ms.subservice: "ide"
ms.custom: intro-whats-new
---
# What's new for C++ in Visual Studio 2019
Expand Down
3 changes: 2 additions & 1 deletion docs/overview/what-s-new-for-visual-cpp-in-visual-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
title: "What's new for C++ in Visual Studio"
description: "The new features and fixes in the Microsoft C/C++ compiler and tools in Visual Studio."
ms.date: 12/07/2023
ms.technology: "cpp-ide"
ms.service: "visual-cpp"
ms.subservice: "ide"
ms.custom: intro-whats-new
---

Expand Down
1 change: 0 additions & 1 deletion docs/standard-library/high-resolution-clock-struct.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ description: "Learn more about: high_resolution_clock struct"
title: high_resolution_clock struct
ms.custom: ""
ms.date: 08/19/2021
ms.technology: "cpp-standard-libraries"
ms.topic: "reference"
f1_keywords: ["chrono/std::chrono::high_resolution_clock", chrono/std::chrono::high_resolution_clock::now", "chrono/std::chrono::high_resolution_clock::is_steady constant"]
helpviewer_keywords: ["std::chrono [C++], high_resolution_clock"]
Expand Down