Skip to content

Resolve syncing conflicts from FromPrivateLiveToMaster to master #3515

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 3 commits into from
Nov 11, 2021
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
6 changes: 3 additions & 3 deletions docs/assembler/inline/intel-s-mmx-instruction-set.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
description: "Learn more about: Intel's MMX Instruction Set"
title: "Intel's MMX Instruction Set"
description: "Learn more about: Intel's MMX Instruction Set"
title: "Intel's MMX Instruction Set"
ms.date: "08/30/2018"
ms.topic: "reference"
helpviewer_keywords: ["MMX instruction set"]
ms.assetid: 705deb2d-c3fd-4696-9e22-8bcf25866daf
---
# Intel's MMX Instruction Set
# Intel's MMX Instruction Set

**Microsoft Specific**

Expand Down
10 changes: 5 additions & 5 deletions docs/assembler/masm/operator-double-quote.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
description: "Learn more about: operator " ""
title: "operator " ""
description: 'Learn more about: operator " "'
title: 'operator " "'
ms.date: "12/17/2019"
f1_keywords: ["" "", "operator " ""]
helpviewer_keywords: ["" " operator", "operator " ""]
f1_keywords: ['operator " "']
helpviewer_keywords: ['" " operator', 'operator " "']
ms.assetid: e96fd419-06d4-4989-b65b-7d3754f00f81
---
# operator " "
# operator " "

Treats "*text*" as a string.

Expand Down
6 changes: 3 additions & 3 deletions docs/assembler/masm/operator-single-quote.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
description: "Learn more about: operator ' '"
title: "operator ' '"
description: "Learn more about: operator ' '"
title: "operator ' '"
ms.date: "12/17/2019"
f1_keywords: ["operator ' '", "' '"]
helpviewer_keywords: ["operator ' '", "' ' operator"]
ms.assetid: 62a5d993-3d9b-470d-ba8a-53d76afd29b1
---
# operator ' '
# operator ' '

Treats '*text*' as a string.

Expand Down
14 changes: 7 additions & 7 deletions docs/atl/reference/atl-text-encoding-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,13 +335,13 @@ The length in characters of the converted string.

Possible conversions performed by this function are shown in the table:

|Source|Destination|
|------------|-----------------|
|\<|&lt;|
|>|&gt;|
|&|&amp;|
|'|&apos;|
|"|&quot;|
| Source | Destination |
|--|--|
| \< | \&lt; |
| > | \&gt; |
| & | \&amp; |
| ' | \&apos; |
| " | \&quot; |

## <a name="getextendedchars"></a> GetExtendedChars

Expand Down
2 changes: 1 addition & 1 deletion docs/atl/reference/catlarray-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The code used to copy or move elements.

|Operator|Description|
|-|-|
|[operator &#91;&#93;](#operator_at)|Call this operator to return a reference to an element in the array.|
|[`operator []`](#operator_at)|Call this operator to return a reference to an element in the array.|

### Typedefs

Expand Down
2 changes: 1 addition & 1 deletion docs/atl/reference/cautovectorptr-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The pointer type.

## Remarks

This class provides methods for creating and managing a smart pointer, which will help protect against memory leaks by automatically freeing resources when it falls out of scope. `CAutoVectorPtr` is similar to `CAutoPtr`, the only difference being that `CAutoVectorPtr` uses [vector new&#91;&#93;](../../standard-library/new-operators.md#op_new_arr) and [vector delete&#91;&#93;](../../standard-library/new-operators.md#op_delete_arr) to allocate and free memory instead of the C++ **`new`** and **`delete`** operators. See [CAutoVectorPtrElementTraits](../../atl/reference/cautovectorptrelementtraits-class.md) if collection classes of `CAutoVectorPtr` are required.
This class provides methods for creating and managing a smart pointer, which will help protect against memory leaks by automatically freeing resources when it falls out of scope. `CAutoVectorPtr` is similar to `CAutoPtr`, the only difference being that `CAutoVectorPtr` uses [`vector new[]`](../../standard-library/new-operators.md#op_new_arr) and [`vector delete[]`](../../standard-library/new-operators.md#op_delete_arr) to allocate and free memory instead of the C++ **`new`** and **`delete`** operators. See [CAutoVectorPtrElementTraits](../../atl/reference/cautovectorptrelementtraits-class.md) if collection classes of `CAutoVectorPtr` are required.

See [CAutoPtr](../../atl/reference/cautoptr-class.md) for an example of using a smart pointer class.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
description: "Learn more about: Using Replaceable Parameters (The Registrar&#39;s Preprocessor)"
description: "Learn more about: Using Replaceable Parameters (The Registrar's Preprocessor)"
title: "Using Replaceable Parameters (ATL Registrar)"
ms.date: "11/04/2016"
helpviewer_keywords: ["%MODULE%"]
ms.assetid: 0b376994-84a6-4967-8d97-8c01dfc94efe
---
# Using Replaceable Parameters (The Registrar&#39;s Preprocessor)
# Using Replaceable Parameters (The Registrar's Preprocessor)

Replaceable parameters allow a Registrar's client to specify run-time data. To do this, the Registrar maintains a replacement map into which it enters the values associated with the replaceable parameters in your script. The Registrar makes these entries at run time.

Expand Down
2 changes: 1 addition & 1 deletion docs/build/reference/fe-name-exe-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The relative or absolute path and base file name, or relative or absolute path t

## Remarks

The **/Fe** option allows you to specify the output directory, output executable name, or both, for the generated executable file. If *pathname* ends in a path separator (**&#92;**), it is assumed to specify only the output directory. Otherwise, the last component of *pathname* is used as the output file base name, and the rest of *pathname* specifies the output directory. If *pathname* does not have any path separators, it's assumed to specify the output file name in the current directory. The *pathname* must be enclosed in double quotes (**"**) if it contains any characters that can't be in a short path, such as spaces, extended characters, or path components more than eight characters long.
The **/Fe** option allows you to specify the output directory, output executable name, or both, for the generated executable file. If *pathname* ends in a path separator (**`\`**), it is assumed to specify only the output directory. Otherwise, the last component of *pathname* is used as the output file base name, and the rest of *pathname* specifies the output directory. If *pathname* does not have any path separators, it's assumed to specify the output file name in the current directory. The *pathname* must be enclosed in double quotes (**"**) if it contains any characters that can't be in a short path, such as spaces, extended characters, or path components more than eight characters long.

When the **/Fe** option is not specified, or when a file base name is not specified in *pathname*, the compiler gives the output file a default name using the base name of the first source or object file specified on the command line and the extension .exe or .dll.

Expand Down
2 changes: 1 addition & 1 deletion docs/build/reference/hint-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ The illustration shows some of the physical directories in a Visual Studio C++ p

### Hint File Directories

![Common and project&#45;specific hint file directories.](media/hintfile.png "HintFile")
![Diagram showing the common and project specific hint file directories.](media/hintfile.png)

### Directories and Hint File Contents

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
description: "Learn more about: /IGNOREIDL (Don&#39;t Process Attributes into MIDL)"
title: "/IGNOREIDL (Don&#39;t Process Attributes into MIDL)"
description: "Learn more about: /IGNOREIDL (Don't Process Attributes into MIDL)"
title: "/IGNOREIDL (Don't Process Attributes into MIDL)"
ms.date: "11/04/2016"
f1_keywords: ["VC.Project.VCLinkerTool.IgnoreEmbeddedIDL", "/ignoreidl"]
helpviewer_keywords: ["IGNOREIDL linker option", "-IGNOREIDL linker option", "/IGNOREIDL linker option"]
ms.assetid: 29514098-6a1c-4317-af2f-1dc268972780
---
# /IGNOREIDL (Don&#39;t Process Attributes into MIDL)
# /IGNOREIDL (Don't Process Attributes into MIDL)

```
/IGNOREIDL
Expand Down
2 changes: 1 addition & 1 deletion docs/build/reference/return-value-of-cl-exe.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cl.exe returns zero for success (no errors) and non-zero otherwise.

The return value of cl.exe can be useful if you are compiling from a script, powershell, .cmd, or .bat file. We recommend that you capture the output of the compiler in case there are errors or warnings, so that you can resolve them.

There are too many possible error exit codes for cl.exe to list them all. You can look up an error code in the winerror.h or ntstatus.h files included in the Windows Software Development Kit in the %ProgramFiles(x86)%\Windows Kits\\<em>version</em>\Include\shared\ directory. Error codes returned in decimal must be converted to hexadecimal for search. For example, an error code of -1073741620 converted to hexadecimal is 0xC00000CC. This error is found in ntstatus.h, where the corresponding message is "The specified share name cannot be found on the remote server." For a downloadable list of Windows error codes, see [&#91;MS-ERREF&#93;: Windows Error Codes](/openspecs/windows_protocols/MS-ERREF).
There are too many possible error exit codes for cl.exe to list them all. You can look up an error code in the winerror.h or ntstatus.h files included in the Windows Software Development Kit in the %ProgramFiles(x86)%\Windows Kits\\<em>version</em>\Include\shared\ directory. Error codes returned in decimal must be converted to hexadecimal for search. For example, an error code of -1073741620 converted to hexadecimal is 0xC00000CC. This error is found in ntstatus.h, where the corresponding message is "The specified share name cannot be found on the remote server." For a downloadable list of Windows error codes, see [`[MS-ERREF]` Windows Error Codes](/openspecs/windows_protocols/MS-ERREF).

You can also use the error lookup utility in Visual Studio to find out what a compiler error message means. In a Visual Studio command shell, enter **errlook.exe** to start the utility; or in the Visual Studio IDE, on the menu bar, choose **Tools**, **Error Lookup**. Enter the error value to find the descriptive text associated with the error. For more information see [ERRLOOK Reference](errlook-reference.md).

Expand Down
4 changes: 2 additions & 2 deletions docs/c-language/c-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ C includes the following unary operators:
|Symbol|Name|
|------------|----------|
|**-** **~** **!**|Negation and complement operators|
|**&#42;** **&**|Indirection and address-of operators|
|**`*`** **`&`**|Indirection and address-of operators|
|**`sizeof`**|Size operator|
|**+**|Unary plus operator|
|**++** **--**|Unary increment and decrement operators|
Expand All @@ -25,7 +25,7 @@ Binary operators associate from left to right. C provides the following binary o

|Symbol|Name|
|------------|----------|
|**&#42;** **/** **%**|Multiplicative operators|
|**`*`** **`/`** **`%`**|Multiplicative operators|
|**+** **-**|Additive operators|
|**\<\<** **>>**|Shift operators|
|**\<** **>** **\<=** **>=** **==** **!=**|Relational operators|
Expand Down
12 changes: 6 additions & 6 deletions docs/c-language/indirection-and-address-of-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ms.assetid: 10d62b00-12ba-4ea9-a2d5-09ac29ca2232
---
# Indirection and Address-of Operators

The unary indirection operator (__&#42;__) accesses a value indirectly, through a pointer. The operand must be a pointer type. The result of the operation is the value addressed by the operand; that is, the value at the address to which its operand points. The type of the result is the type that the operand addresses.
The unary indirection operator (**`*`**) accesses a value indirectly, through a pointer. The operand must be a pointer type. The result of the operation is the value addressed by the operand; that is, the value at the address to which its operand points. The type of the result is the type that the operand addresses.

The result of the indirection operator is *type* if the operand is of type *pointer to type*. If the operand points to a function, the result is a function designator. If it points to an object, the result is an lvalue that designates the object.

Expand All @@ -21,9 +21,9 @@ If the pointer value is not valid, the result of the indirection operator is und

- The pointer specifies an address not used by the executing program.

The unary address-of operator (**&**) gives the address of its operand. The operand must be either an lvalue that designates an object that is not declared __register__ and is not a bit-field, or the result of a unary __&#42;__ operator or an array dereference (__&#91;&#93;__) operator, or a function designator. The result is of type *pointer to type* for an operand of type *type*.
The unary address-of operator (**`&`**) gives the address of its operand. The operand must be either an lvalue that designates an object that is not declared **`register`** and is not a bit-field, or the result of a unary **`*`** operator or an array dereference (**`[]`**) operator, or a function designator. The result is of type *pointer to type* for an operand of type *type*.

If the operand is the result of a unary __&#42;__ operator, neither operator is evaluated and the result is as if both were omitted. The result is not an lvalue, and the constraints on the operators still apply. If the operand is the result of a __&#91;&#93;__ operator, neither the __&__ operator nor the unary __&#42;__ implied by the __&#91;&#93;__ operator is evaluated. The result has the same effect as removing the __&__ operator and changing the __&#91;&#93;__ operator to a __+__ operator. Otherwise, the result is a pointer to the object or function designated by the operand.
If the operand is the result of a unary **`*`** operator, neither operator is evaluated and the result is as if both were omitted. The result is not an lvalue, and the constraints on the operators still apply. If the operand is the result of a **`[]`** operator, neither the **`&`** operator nor the unary **`*`** implied by the **`[]`** operator is evaluated. The result has the same effect as removing the **`&`** operator and changing the **`[]`** operator to a **`+`** operator. Otherwise, the result is a pointer to the object or function designated by the operand.

## Examples

Expand All @@ -35,13 +35,13 @@ int a[20];
double d;
```

This statement uses the address-of operator (**&**) to take the address of the sixth element of the array `a`. The result is stored in the pointer variable `pa`:
This statement uses the address-of operator (**`&`**) to take the address of the sixth element of the array `a`. The result is stored in the pointer variable `pa`:

```C
pa = &a[5];
```

The indirection operator (__&#42;__) is used in this example to access the **`int`** value at the address stored in `pa`. The value is assigned to the integer variable `x`:
The indirection operator (**`*`**) is used in this example to access the **`int`** value at the address stored in `pa`. The value is assigned to the integer variable `x`:

```C
x = *pa;
Expand All @@ -67,5 +67,5 @@ Once the function `roundup` is declared, two pointers to `roundup` are declared

## See also

[Indirection Operator: &#42;](../cpp/indirection-operator-star.md)<br/>
[Indirection Operator: `*`](../cpp/indirection-operator-star.md)<br/>
[Address-of Operator: &](../cpp/address-of-operator-amp.md)
2 changes: 1 addition & 1 deletion docs/c-language/return-statement-c.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A **`return`** statement ends the execution of a function, and returns control t
## Syntax

> *jump-statement*:\
> &nbsp;&nbsp;&nbsp;&nbsp;**`return`** *expression*&#8203;<sub>opt</sub> **`;`**
> &nbsp;&nbsp;&nbsp;&nbsp;**`return`** *expression*<sub>opt</sub> **`;`**

The value of *expression*, if present, is returned to the calling function. If *expression* is omitted, the return value of the function is undefined. The expression, if present, is evaluated and then converted to the type returned by the function. When a **`return`** statement contains an expression in functions that have a **`void`** return type, the compiler generates a warning, and the expression isn't evaluated.

Expand Down
4 changes: 2 additions & 2 deletions docs/c-runtime-library/debug-routines.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ To use these routines, the [_DEBUG](../c-runtime-library/debug.md) flag must be
| [`_CrtSetReportHook`](../c-runtime-library/reference/crtsetreporthook.md) | Install a client-defined reporting function by hooking it into the C run-time debug reporting process |
| [`_CrtSetReportHook2`, `_CrtSetReportHookW2`](../c-runtime-library/reference/crtsetreporthook2-crtsetreporthookw2.md) | Installs or uninstalls a client-defined reporting function by hooking it into the C run-time debug reporting process. |
| [`_CrtSetReportMode`](../c-runtime-library/reference/crtsetreportmode.md) | Specify the general destination(s) for a specific report type generated by `_CrtDbgReport` |
| [_RPT&#91;0,1,2,3,4&#93;](../c-runtime-library/reference/rpt-rptf-rptw-rptfw-macros.md) | Track the application's progress by generating a debug report by calling `_CrtDbgReport` with a format string and a variable number of arguments. Provides no source file and line number information. |
| [_RPTF&#91;0,1,2,3,4&#93;](../c-runtime-library/reference/rpt-rptf-rptw-rptfw-macros.md) | Similar to the `_RPTn` macros, but provides the source file name and line number where the report request originated |
| [`_RPT[0,1,2,3,4]`](../c-runtime-library/reference/rpt-rptf-rptw-rptfw-macros.md) | Track the application's progress by generating a debug report by calling `_CrtDbgReport` with a format string and a variable number of arguments. Provides no source file and line number information. |
| [`_RPTF[0,1,2,3,4]`](../c-runtime-library/reference/rpt-rptf-rptw-rptfw-macros.md) | Similar to the `_RPTn` macros, but provides the source file name and line number where the report request originated |
| [`_calloc_dbg`](../c-runtime-library/reference/calloc-dbg.md) | Allocate a specified number of memory blocks on the heap with additional space for a debugging header and overwrite buffers |
| [`_expand_dbg`](../c-runtime-library/reference/expand-dbg.md) | Resize a specified block of memory on the heap by expanding or contracting the block |
| [`_free_dbg`](../c-runtime-library/reference/free-dbg.md) | Free a block of memory on the heap |
Expand Down
2 changes: 1 addition & 1 deletion docs/c-runtime-library/reference/chdir-wchdir.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The **_chdir** function changes the current working directory to the directory s
_chdir("c:\temp");
```

When you use the optional backslash character (**&#92;**) in paths, you must place two backslashes (**&#92;&#92;**) in a C string literal to represent a single backslash (**&#92;**).
When you use the optional backslash character (**`\`**) in paths, you must place two backslashes (**`\\`**) in a C string literal to represent a single backslash (**`\`**).

**_wchdir** is a wide-character version of **_chdir**; the *dirname* argument to **_wchdir** is a wide-character string. **_wchdir** and **_chdir** behave identically otherwise.

Expand Down
2 changes: 1 addition & 1 deletion docs/c-runtime-library/reference/fdopen-wfdopen.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ For more information about these and other error codes, see [_doserrno, errno, _

The **_fdopen** function associates an I/O stream with the file that is identified by *fd*, and thus allows a file that is opened for low-level I/O to be buffered and formatted. **_wfdopen** is a wide-character version of **_fdopen**; the *mode* argument to **_wfdopen** is a wide-character string. **_wfdopen** and **_fdopen** otherwise behave identically.

File descriptors passed into **_fdopen** are owned by the returned **FILE &#42;** stream. If **_fdopen** is successful, do not call [\_close](close.md) on the file descriptor. Calling [fclose](fclose-fcloseall.md) on the returned **FILE &#42;** also closes the file descriptor.
File descriptors passed into **_fdopen** are owned by the returned `FILE *` stream. If **_fdopen** is successful, do not call [\_close](close.md) on the file descriptor. Calling [fclose](fclose-fcloseall.md) on the returned `FILE *` also closes the file descriptor.

By default, this function's global state is scoped to the application. To change this, see [Global state in the CRT](../global-state.md).

Expand Down
Loading