Skip to content

Commit fe25a53

Browse files
authored
Merge pull request #3907 from corob-msft/docs/corob/bulk-entity-7
Remove square bracket entities
2 parents 2d3dc42 + 66ee63a commit fe25a53

File tree

10 files changed

+15
-15
lines changed

10 files changed

+15
-15
lines changed

docs/atl/reference/catlarray-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The code used to copy or move elements.
5454
5555
|Operator|Description|
5656
|-|-|
57-
|[operator []](#operator_at)|Call this operator to return a reference to an element in the array.|
57+
|[`operator []`](#operator_at)|Call this operator to return a reference to an element in the array.|
5858
5959
### Typedefs
6060

docs/atl/reference/cautovectorptr-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The pointer type.
5858

5959
## Remarks
6060

61-
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.
61+
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.
6262

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

docs/build/reference/return-value-of-cl-exe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cl.exe returns zero for success (no errors) and non-zero otherwise.
1111

1212
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.
1313

14-
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).
14+
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).
1515

1616
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).
1717

docs/c-language/indirection-and-address-of-operators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ If the pointer value is not valid, the result of the indirection operator is und
2121

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

24-
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 (__&#91;&#93;__) operator, or a function designator. The result is of type *pointer to type* for an operand of type *type*.
24+
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*.
2525

26-
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 __&#91;&#93;__ operator, neither the __&__ operator nor the unary **`*`** 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.
26+
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.
2727

2828
## Examples
2929

@@ -35,7 +35,7 @@ int a[20];
3535
double d;
3636
```
3737

38-
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`:
38+
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`:
3939

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

docs/c-runtime-library/debug-routines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ To use these routines, the [_DEBUG](../c-runtime-library/debug.md) flag must be
4747
| [`_CrtSetReportHook`](../c-runtime-library/reference/crtsetreporthook.md) | Install a client-defined reporting function by hooking it into the C run-time debug reporting process |
4848
| [`_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. |
4949
| [`_CrtSetReportMode`](../c-runtime-library/reference/crtsetreportmode.md) | Specify the general destination(s) for a specific report type generated by `_CrtDbgReport` |
50-
| [_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. |
51-
| [_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 |
50+
| [`_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. |
51+
| [`_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 |
5252
| [`_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 |
5353
| [`_expand_dbg`](../c-runtime-library/reference/expand-dbg.md) | Resize a specified block of memory on the heap by expanding or contracting the block |
5454
| [`_free_dbg`](../c-runtime-library/reference/free-dbg.md) | Free a block of memory on the heap |

docs/cpp/auto-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.assetid: e9d495d7-601c-4547-b897-998389a311f4
1111
Deduces the type of a declared variable from its initialization expression.
1212

1313
> [!NOTE]
14-
> The C++ standard defines an original and a revised meaning for this keyword. Before Visual Studio 2010, the **`auto`** keyword declares a variable in the *automatic* storage class; that is, a variable that has a local lifetime. Starting with Visual Studio 2010, the **`auto`** keyword declares a variable whose type is deduced from the initialization expression in its declaration. The [`/Zc:auto`&#91;-&#93;](../build/reference/zc-auto-deduce-variable-type.md) compiler option controls the meaning of the **`auto`** keyword.
14+
> The C++ standard defines an original and a revised meaning for this keyword. Before Visual Studio 2010, the **`auto`** keyword declares a variable in the *automatic* storage class; that is, a variable that has a local lifetime. Starting with Visual Studio 2010, the **`auto`** keyword declares a variable whose type is deduced from the initialization expression in its declaration. The [`/Zc:auto[-]`](../build/reference/zc-auto-deduce-variable-type.md) compiler option controls the meaning of the **`auto`** keyword.
1515
1616
## Syntax
1717

docs/data/oledb/carrayrowset-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The type of accessor class that you want the rowset to use.
4141
4242
| Name | Description |
4343
|--|--|
44-
| [Operator&#91;&#93;](#operator) | Accesses an element of the rowset. |
44+
| [`operator[]`](#operator) | Accesses an element of the rowset. |
4545
4646
### Data Members
4747

docs/mfc/reference/collection-class-helpers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The Microsoft Foundation Class Library provides the following global functions i
2323

2424
## <a name="compareelements"></a> CompareElements
2525

26-
Called directly by [CList::Find](clist-class.md#not_found.md#clist__find and indirectly by [cmap__lookup](cmap-class.md#lookup) and [cmap__operator &#91;&#93;](cmap-class.md#operator_at).
26+
Called directly by [`CList::Find`](clist-class.md#find) and indirectly by [`CMap::Lookup`](cmap-class.md#lookup) and [`CMap::operator[]`](cmap-class.md#operator_at).
2727

2828
```
2929
template<class TYPE, class ARG_TYPE>
@@ -158,7 +158,7 @@ The key's hash value.
158158

159159
### Remarks
160160

161-
This function is called directly by [CMap::RemoveKey](cmap-class.md#removekey) and indirectly by [CMap::Lookup](cmap-class.md#lookup) and [CMap::Operator &#91;&#93;](cmap-class.md#operator_at).
161+
This function is called directly by [`CMap::RemoveKey`](cmap-class.md#removekey) and indirectly by [`CMap::Lookup`](cmap-class.md#lookup) and [`CMap::operator[]`](cmap-class.md#operator_at).
162162

163163
The default implementation creates a hash value by shifting *key* right by four positions. Override this function so that it returns hash values appropriate for your application.
164164

docs/mfc/reference/cwordarray-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ for example, translates to
5858

5959
|Name|Description|
6060
|----------|-----------------|
61-
|[CWordArray::operator &#91;&#93;](../../mfc/reference/cobarray-class.md#operator_at)|Sets or gets the element at the specified index.|
61+
|[`CWordArray::operator[]`](../../mfc/reference/cobarray-class.md#operator_at)|Sets or gets the element at the specified index.|
6262

6363
## Remarks
6464

docs/standard-library/basic-string-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ The type that represents the stored allocator object that encapsulates details a
106106
|-|-|
107107
|[`operator+=`](#op_add_eq)|Appends characters to a string.|
108108
|[`operator=`](#op_eq)|Assigns new character values to the contents of a string.|
109-
|[`operator`&#91;&#93;](#op_at)|Provides a reference to the character with a specified index in a string.|
109+
|[`operator[]`](#op_at)|Provides a reference to the character with a specified index in a string.|
110110
111111
### Literals
112112
@@ -508,7 +508,7 @@ A reference to the character of the string at the position specified by the para
508508
509509
The first element of the string has an index of zero and the following elements are indexed consecutively by the positive integers, so that a string of length *n* has an *n*th element indexed by the number *n -* 1.
510510
511-
The member [`operator`&#91;&#93;](#op_at) is faster than the member function `at` for providing read and write access to the elements of a string.
511+
The member [`operator[]`](#op_at) is faster than the member function `at` for providing read and write access to the elements of a string.
512512
513513
The member `operator[]` doesn't check whether the index passed as a parameter is valid but the member function `at` does and so should be used if the validity isn't certain. An invalid index, which is an index less that zero or greater than or equal to the size of the string, passed to the member function `at` throws an [`out_of_range` Class](../standard-library/out-of-range-class.md) exception. An invalid index passed to the `operator[]` results in undefined behavior, but the index equal to the length of the string is a valid index for const strings and the operator returns the null-character when passed this index.
514514

0 commit comments

Comments
 (0)