You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build/cppproperties-schema-reference.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ A configuration may have any of the following properties:
22
22
|`forcedInclude`|Header to be automatically included in every compilation unit (maps to /FI for MSVC or -include for clang)|
23
23
|`undefines`|The list of macros to be undefined (maps to /U for MSVC)|
24
24
|`intelliSenseMode`|The IntelliSense engine to be used. You can specify one of the predefined architecture-specific variants for MSVC, gcc, or Clang.|
25
-
|`environments`|User-defined sets of variables that behave like environment variables in a command prompt and are accessed with the ${env.<VARIABLE>} macro.|
25
+
|`environments`|User-defined sets of variables that behave like environment variables in a command prompt and are accessed with the ${env.\<VARIABLE>} macro.|
Copy file name to clipboardExpand all lines: docs/data/odbc/data-source-programmatically-configuring-an-odbc-data-source.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ One way to find the keynames and values for the *lpszAttributes* parameter is to
83
83
84
84
- For 32 bit, find the key **HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ODBC Data Sources** in the left pane.
85
85
86
-
The right pane lists entries of the form: "pub: REG_SZ:*<datasourcename>*", where *<datasourcename>* is a data source that has already been configured with the desired settings for the driver you intend to use. Select the data source you want, for example, SQL Server. The items following the string "pub:" are, in order, the keyname and value to use in your *lpszAttributes* parameter.
86
+
The right pane lists entries of the form: "pub: REG_SZ:*\<data source name>*", where *\<data source name>* is a data source that has already been configured with the desired settings for the driver you intend to use. Select the data source you want, for example, SQL Server. The items following the string "pub:" are, in order, the keyname and value to use in your *lpszAttributes* parameter.
87
87
88
88
- For 16 bit, find the section in the Odbc.ini file marked by [*\<data source name>*].
Copy file name to clipboardExpand all lines: docs/error-messages/compiler-errors-2/compiler-errors-c3500-through-c3999.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -466,10 +466,10 @@ The articles in this section of the documentation explain a subset of the error
466
466
|Compiler error C3949|a pack expansion, '...', cannot appear in a parenthesized abstract declarator|
467
467
|Compiler error C3950|Obsolete.|
468
468
|Compiler error C3951|Cannot use pointer-to-member in projected WinRT type '*type*'. Use a delegate instead.|
469
-
|Compiler error C3952|'*type*': WinRT does not support 'in/out' arrays. Use 'const Array<T>^' for 'in' and 'WriteOnlyArray<T>' or 'Array<T>^*' for 'out' on public APIs|
469
+
|Compiler error C3952|'*type*': WinRT does not support 'in/out' arrays. Use 'const Array\<T>^' for 'in' and 'WriteOnlyArray\<T>' or 'Array\<T>^*' for 'out' on public APIs|
470
470
|Compiler error C3953|Cannot use managed class '*type*' in WinRT module.|
471
-
|Compiler error C3954|'*type*': An array returned from a published method on a WinRT type must use the form 'Array<T>^'|
472
-
|Compiler error C3955|'*type*': A public constructor cannot contain an 'out' parameter or 'WriteOnlyArray<T>'|
471
+
|Compiler error C3954|'*type*': An array returned from a published method on a WinRT type must use the form 'Array\<T>^'|
472
+
|Compiler error C3955|'*type*': A public constructor cannot contain an 'out' parameter or 'WriteOnlyArray\<T>'|
473
473
|Compiler error C3956|'*type*': Type is marked as Exclusive To '*type*' and cannot be used as a base of '*derived_type*'|
474
474
|Compiler error C3957|'*type*': cannot use 'new' on a WinRT type; use 'ref new' instead|
475
475
|Compiler error C3958|'*type*': cannot use 'gcnew' on a WinRT type; use 'ref new' instead|
Copy file name to clipboardExpand all lines: docs/error-messages/compiler-warnings/compiler-warnings-by-compiler-version.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -297,7 +297,7 @@ These warnings and all warnings in later versions are suppressed by using the co
297
297
| C4703 |`potentially uninitialized local pointer variable 'name' used`|
298
298
| C4728 |`/Yl- option ignored because PCH reference is required`|
299
299
| C4745 |`volatile access of 'name' cannot be honored due to its size`|
300
-
| C4746|volatile access of 'name' is subject to /volatile:<iso | ms> setting; consider using __iso_volatile_load/store intrinsic functions |
300
+
| C4746| `volatile access of 'name' is subject to /volatile:<iso | ms> setting; consider using __iso_volatile_load/store intrinsic functions`|
301
301
| C4872 |`floating point division by zero detected when compiling the call graph for the concurrency::parallel_for_each at: 'description'`|
302
302
| C4880 |`casting from 'type' to 'type': casting away constness from a pointer or reference may result in undefined behavior in an amp restricted function`|
303
303
| C4881 |`the constructor and/or the destructor will not be invoked for tile_static variable 'type'`|
Copy file name to clipboardExpand all lines: docs/ide/writing-and-refactoring-code-cpp.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ IntelliSense is a powerful code completion tool that suggests symbols and code s
15
15
16
16

17
17
18
-
Some symbols are omitted automatically to help narrow down the results. For example, when accessing a class object’s members from outside the class, you will not be able to see private members by default, or protected members (if you are not in the context of a child class). You can adjust the filtering by using the buttons at the bottom.
18
+
Some symbols are omitted automatically to help narrow down the results. For example, when accessing a class object's members from outside the class, you will not be able to see private members by default, or protected members (if you are not in the context of a child class). You can adjust the filtering by using the buttons at the bottom.
19
19
20
-
After you choose the symbol from the drop-down list, you can autocomplete it with **Tab**, **Enter**, or one of the other commit characters (by default: {}[]().,:;+-*/%&|^!=?@#\). To add or remove characters from this list,
20
+
After you choose the symbol from the drop-down list, you can autocomplete it with **Tab**, **Enter**, or one of the other commit characters (by default: `{ } [ ] ( ) . , : ; + - * / % & | ^ ! = ? @ # \`). To add or remove characters from this list,
21
21
search for "IntelliSense" in **Quick Launch** (Ctrl + Q) and choose the **Text Editor > C/C++ > Advanced** option. The **Member List Commit Characters** option enables you to customize the list with the changes you want.
22
22
23
23
The **Member List Filter Mode** option controls what kinds of IntelliSense autocomplete suggestions you see. By default, it is set to **Fuzzy**. In a fuzzy search, if you have a symbol called *MyAwesomeClass*, you can type "MAC" and find the class in your autocomplete suggestions. The fuzzy algorithm sets a minimum threshold that symbols must meet to show up in the list. **Smart** filtering displays all symbols containing substrings that match what you typed. **Prefix** filtering searches for strings that begin with what you typed.
@@ -69,7 +69,7 @@ When the caret is inside a template definition, a **Template Bar** appears, whic
69
69
70
70

71
71
72
-
Click the **<T>** icon to expand/collapse the **Template Bar**. Click the pencil icon or double-click the **Template Bar** to open the **Edit** window.
72
+
Click the **\<T>** icon to expand/collapse the **Template Bar**. Click the pencil icon or double-click the **Template Bar** to open the **Edit** window.
Copy file name to clipboardExpand all lines: docs/overview/cpp-conformance-improvements.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -913,7 +913,7 @@ The iterator debugging feature has been taught to properly unwrap `std::move_ite
913
913
914
914
### Fixes for \<xkeycheck.h> keyword enforcement
915
915
916
-
The standard library’s macro replacing a keyword enforcement \<xkeycheck.h> was fixed to emit the actual problem keyword detected rather than a generic message. It also supports C++20 keywords, and avoids tricking IntelliSense into saying random keywords are macros.
916
+
The standard library's macro replacing a keyword enforcement \<xkeycheck.h> was fixed to emit the actual problem keyword detected rather than a generic message. It also supports C++20 keywords, and avoids tricking IntelliSense into saying random keywords are macros.
917
917
918
918
### Allocator types no longer deprecated
919
919
@@ -925,7 +925,7 @@ A spurious `static_cast` not called for by the standard that accidentally suppre
925
925
926
926
### Various \<filesystem> correctness fixes
927
927
928
-
- Fixed `std::filesystem::last_write_time` failing when attempting to change a directory’s last write time.
928
+
- Fixed `std::filesystem::last_write_time` failing when attempting to change a directory's last write time.
929
929
- The `std::filesystem::directory_entry` constructor now stores a failed result, rather than throwing an exception, when supplied a nonexistent target path.
930
930
- The `std::filesystem::create_directory` 2-parameter version was changed to call the 1-parameter version, as the underlying `CreateDirectoryExW` function would use `copy_symlink` when the `existing_p` was a symlink.
931
931
- `std::filesystem::directory_iterator` no longer fails when a broken symlink is found.
@@ -963,7 +963,7 @@ The unordered container `reserve` function now actually reserves for N elements,
963
963
964
964
- Many standard library internal container functions have been made private for an improved IntelliSense experience. Additional fixes to mark members as private are expected in later releases of MSVC.
965
965
966
-
- Exception safety correctness problems wherein the node-based containers like `list`, `map`, and `unordered_map` would become corrupted were fixed. During a `propagate_on_container_copy_assignment` or `propagate_on_container_move_assignment` reassignment operation, we would free the container’s sentinel node with the old allocator, do the POCCA/POCMA assignment over the old allocator, and then try to acquire the sentinel node from the new allocator. If this allocation failed, the container was corrupted and couldn’t even be destroyed, as owning a sentinel node is a hard data structure invariant. This code was fixed to allocate the new sentinel node from the source container’s allocator before destroying the existing sentinel node.
966
+
- Exception safety correctness problems wherein the node-based containers like `list`, `map`, and `unordered_map` would become corrupted were fixed. During a `propagate_on_container_copy_assignment` or `propagate_on_container_move_assignment` reassignment operation, we would free the container's sentinel node with the old allocator, do the POCCA/POCMA assignment over the old allocator, and then try to acquire the sentinel node from the new allocator. If this allocation failed, the container was corrupted and couldn't even be destroyed, as owning a sentinel node is a hard data structure invariant. This code was fixed to allocate the new sentinel node from the source container's allocator before destroying the existing sentinel node.
967
967
968
968
- The containers were fixed to always copy/move/swap allocators according to `propagate_on_container_copy_assignment`, `propagate_on_container_move_assignment`, and `propagate_on_container_swap`, even for allocators declared `is_always_equal`.
969
969
@@ -2841,7 +2841,7 @@ int main()
2841
2841
2842
2842
In [/permissive-](../build/reference/permissive-standards-conformance.md) mode, the compiler now requires the **template** keyword to precede a template-name when it comes after a dependent nested-name-specifier.
2843
2843
2844
-
The following code in [/permissive-](../build/reference/permissive-standards-conformance.md) mode now raises C7510: *'example': use of dependent template name must be prefixed with 'template'. note: see reference to class template instantiation 'X<T>' being compiled*:
2844
+
The following code in [/permissive-](../build/reference/permissive-standards-conformance.md) mode now raises C7510: *'example': use of dependent template name must be prefixed with 'template'. note: see reference to class template instantiation 'X\<T>' being compiled*:
0 commit comments