Skip to content

Commit 5ff9e2c

Browse files
committed
edits
1 parent 97d53c6 commit 5ff9e2c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

docs/overview/cpp-conformance-improvements.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ Visual Studio 2022 version 17.14 includes the following conformance improvements
3333

3434
### Behavior changes
3535

36-
- [LWG-4014](https://cplusplus.github.io/LWG/issue4014) and [LWG-3809](https://cplusplus.github.io/LWG/issue3809) changes the behavior of some existing `std::subtract_with_carry_engine` pseudo-random number generator with regard to seeding. Previously, if the engine was seeded with values from a `linear_congruential_engine<T, 40014u, 0u, 2147483563u>` object, narrowing resulted when `T` was less than 32 bits. New Behavior: The seed sequence uses `linear_congruential_engine<uint_least32_t, 40014u, 0u, 2147483563u>` with the seed value reduced modulo `2147483563u` so that it isn't narrowed if `T` is less than 32 bits.
36+
- [LWG-4014](https://cplusplus.github.io/LWG/issue4014) and [LWG-3809](https://cplusplus.github.io/LWG/issue3809) affects the seeding behavior `std::subtract_with_carry_engine`. Previously, when the engine was seeded with values from a `linear_congruential_engine<T, 40014u, 0u, 2147483563u>` object, narrowing resulted when `T` was less than 32 bits. Now the seed sequence uses `linear_congruential_engine<uint_least32_t, 40014u, 0u, 2147483563u>` with the seed value reduced modulo `2147483563u` so that it isn't narrowed if `T` is less than 32 bits.
3737

3838
### Bug fixes
3939

40-
- Fixed compiler errors when using `<format>` in a CUDA project.
40+
- Fixed errant compiler errors when using `<format>` in a CUDA project.
4141
- Fixed a compiler issue where the address of a local variable could "leak" during `constexpr` evaluation. For example:
4242

4343
```cpp
@@ -73,7 +73,7 @@ Visual Studio 2022 version 17.14 includes the following conformance improvements
7373
};
7474
```
7575

76-
- Referencing binding to volatile-qualified types fixed when referring to a base/derived class. For example:
76+
- Referencing binding to volatile-qualified types fixed when referring to a base or derived class. For example:
7777

7878
```cpp
7979
struct A {};
@@ -84,7 +84,7 @@ Visual Studio 2022 version 17.14 includes the following conformance improvements
8484

8585
f(B{}); // Previously called 2. This is ill-formed under /permissive- or /Zc:referenceBinding. Chooses 1 if relaxed reference binding rules are enabled.
8686
```
87-
87+
8888
For an in-depth summary of changes made to the Standard Template Library, including conformance changes, bug fixes, and performance improvements, see [STL Changelog VS 2022 17.14](https://github.com/microsoft/STL/wiki/Changelog#vs-2022-1714).
8989

9090
## <a name="improvements_1713"></a> Conformance improvements in Visual Studio 2022 version 17.13

docs/overview/what-s-new-for-visual-cpp-in-visual-studio.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ A quick highlight of some of the new features:
3333
- C++ Dynamic Debugging allows you to debug optimized code without impacting performance. For more information, see [C++ Dynamic Debugging](/visualstudio/debugger/cpp-dynamic-debugging).
3434
- Automatically generate documentation comments with GitHub Copilot. For more information, see [Introducing automatic documentation comment generation in Visual Studio](https://devblogs.microsoft.com/visualstudio/introducing-automatic-documentation-comment-generation-in-visual-studio/).
3535
- Unreal Engine Integration:
36-
- Blueprints support in the Visual Studio C++ debugger.
36+
- Blueprints are supported in the Visual Studio C++ debugger.
3737
- Commands for building files, modules, and plugins are available natively in Visual Studio.
3838
- New compiler flag [/forceInterlockedFunctions](../build/reference/force-interlocked-functions.md) to dynamically select between Armv8.0 load, store exclusive instructions or Armv8.1 Large System Extension (LSE) atomic instructions based on CPU capability at runtime.
39-
- Use the Model Picker in Visual Studio to select your AI model for GitHub Copilot. Some models such as GPT-4o, Claude Sonnet 3.5, and Gemini 2.0 Flash are best for high performance. Others, such as Claude Sonnet 3.7 Thinking, o1, and o3-mini are optimized for reasoning and planning. For more information, see [Changing the AI model for Copilot Chat](https://docs.github.com/en/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat). This picture shows the Model Picker which is available at the bottom of the GitHub Copilot chat window:
39+
- Use the Model Picker in Visual Studio to select your AI model for GitHub Copilot. For more information, see [Changing the AI model for Copilot Chat](https://docs.github.com/en/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat). This screenshot shows the Model Picker at the bottom of the GitHub Copilot chat window:
4040
:::image type="complex" source="./media/model-picker.png" alt-text="A screenshot of the GitHub Copilot chat window with the Model Picker dropdown highlighted.":::
4141
The dropdown for the Model Picker is open. The options include: GPT-4o, o3-mini, Claude 3.7 Sonnet Thinking, and others.
4242
:::image-end:::
43-
- Guidelines Support Library (GSL) 4.2.0 is available. This release includes performance improvements for `gsl::span`, new features, and better alignment with C++ standards. For more information, see [Announcing Guidelines Support Library v4.2.0](https://devblogs.microsoft.com/cppblog/announcing-guidelines-support-library-v4-2-0/).
43+
- Guidelines Support Library (GSL) 4.2.0: This release includes performance improvements for `gsl::span`, new features, and better alignment with C++ standards. For more information, see [Announcing Guidelines Support Library v4.2.0](https://devblogs.microsoft.com/cppblog/announcing-guidelines-support-library-v4-2-0/).
4444
- Implemented C++23 features:
45-
- [`static operator()]`(https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p1169r4.html)
45+
- [`static operator()`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p1169r4.html)
4646
- [`static operator[]`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2589r1.pdf)
4747
- [`if consteval`](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1938r3.html)
4848
- [`static constexpr` variables in `constexpr` functions](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2647r1.html)
@@ -66,12 +66,12 @@ A quick highlight of some of the new features:
6666
| For more information about | See |
6767
|---|---|
6868
| What's new for C++ developers | [What's New for C++ Developers in Visual Studio 2022 17.13](https://devblogs.microsoft.com/cppblog/whats-new-for-c-developers-in-visual-studio-2022-17-13/) |
69-
| Standard Library (STL) merged C++26 and C++23 features, Language Working Group (LWG) issue resolutions, performance improvements, enhanced behavior, and fixed bugs | [STL Changelog 17.13](https://github.com/microsoft/STL/wiki/Changelog#vs-2022-1713) |
69+
| Standard Library (STL) C++26 and C++23 features, Language Working Group (LWG) issue resolutions, performance improvements, enhanced behavior, and fixed bugs | [STL Changelog 17.13](https://github.com/microsoft/STL/wiki/Changelog#vs-2022-1713) |
7070
| New features in the IDE |[Visual Studio 2022 version 17.13 Release Notes](/visualstudio/releases/2022/release-notes) |
7171
| C++ language updates | [MSVC compiler updates in Visual Studio 2022 17.13](https://devblogs.microsoft.com/cppblog/msvc-compiler-updates-in-visual-studio-2022-version-17-13/) |
7272
| C++ language conformance improvements | [C++ Conformance improvements, behavior changes, and bug fixes in Visual Studio 2022 17.13](cpp-conformance-improvements.md#improvements_1713) |
7373

74-
A quick highlight of some of the new features:
74+
A quick highlight of some new features:
7575

7676
- **C++ language enhancements**
7777

0 commit comments

Comments
 (0)