Skip to content

Commit a992a29

Browse files
authored
Merge pull request #3909 from corob-msft/docs/corob/bulk-entity-10
Remove backslash and square bracket entities
2 parents a8b11bd + 7e78ba7 commit a992a29

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

docs/build/reference/fe-name-exe-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The relative or absolute path and base file name, or relative or absolute path t
2222

2323
## Remarks
2424

25-
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.
25+
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.
2626

2727
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.
2828

docs/c-runtime-library/reference/chdir-wchdir.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The **_chdir** function changes the current working directory to the directory s
4242
_chdir("c:\temp");
4343
```
4444
45-
When you use the optional backslash character (**\**) in paths, you must place two backslashes (**\\**) in a C string literal to represent a single backslash (**\**).
45+
When you use the optional backslash character (**`\`**) in paths, you must place two backslashes (**`\\`**) in a C string literal to represent a single backslash (**`\`**).
4646
4747
**_wchdir** is a wide-character version of **_chdir**; the *dirname* argument to **_wchdir** is a wide-character string. **_wchdir** and **_chdir** behave identically otherwise.
4848

docs/standard-library/reverse-iterator-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ In practice, this means that in the reversed sequence the reverse_iterator will
6767
|[operator--](#operator--)|Decrements the `reverse_iterator` to the previous element.|
6868
|[operator-=](#operator-_eq)|Subtracts a specified offset from a `reverse_iterator`.|
6969
|[operator->](#op-arrow)|Returns a pointer to the element addressed by the `reverse_iterator`.|
70-
|[operator[]](#op_at)|Returns a reference to an element offset from the element addressed by a `reverse_iterator` by a specified number of positions.|
70+
|[`operator[]`](#op_at)|Returns a reference to an element offset from the element addressed by a `reverse_iterator` by a specified number of positions.|
7171
7272
## Requirements
7373
@@ -160,7 +160,7 @@ The type is a synonym for the iterator trait typename `iterator_traits`\< **Rand
160160

161161
### Example
162162

163-
See [reverse_iterator::operator&#91;&#93;](#op_at) for an example of how to declare and use `difference_type`.
163+
See [`reverse_iterator::operator[]`](#op_at) for an example of how to declare and use `difference_type`.
164164

165165
## <a name="iterator_type"></a> reverse_iterator::iterator_type
166166

@@ -927,7 +927,7 @@ The type is a synonym for the iterator trait typename `iterator_traits`\< *Rando
927927

928928
### Example
929929

930-
See [reverse_iterator::operator&#91;&#93;](#op_at) or [reverse_iterator::operator*](#op_star) for examples of how to declare and use `reference`.
930+
See [`reverse_iterator::operator[]`](#op_at) or [reverse_iterator::operator*](#op_star) for examples of how to declare and use `reference`.
931931

932932
## <a name="reverse_iterator"></a> reverse_iterator::reverse_iterator
933933

docs/standard-library/slice-array-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ The class describes an object that stores a reference to an object of class [val
3939
4040
The class template is created indirectly by certain valarray operations and cannot be used directly in the program. An internal, auxiliary class template that is used by the slice subscript operator:
4141
42-
`slice_array`\< **Type**> `valarray`< **Type**:: `operator[]` ( `slice`).
42+
`slice_array<Type> valarray<Type>::operator[]( slice )`.
4343
44-
You construct a `slice_array<Type>` object only by writing an expression of the form [va&#91;sl&#93;](../standard-library/valarray-class.md#op_at), for a slice `sl` of valarray `va`. The member functions of class slice_array then behave like the corresponding function signatures defined for `valarray<Type>`, except that only the sequence of selected elements is affected. The sequence controlled by the slice_array is defined by the three parameters of the slice constructor, the index of the first element in the slice, the number of elements, and the distance between the elements. A slice_array cut from valarray `va` declared by **va**[ `slice`(2, 5, 3)] selects elements with indices 2, 5, 8, 11, and 14 from `va`. The indices must be valid for the procedure to be valid.
44+
You construct a `slice_array<Type>` object only by writing an expression of the form [`va[sl]`](../standard-library/valarray-class.md#op_at), for a slice `sl` of valarray `va`. The member functions of class `slice_array` then behave like the corresponding function signatures defined for `valarray<Type>`, except that only the sequence of selected elements is affected. The sequence controlled by the `slice_array` is defined by the three parameters of the slice constructor, the index of the first element in the slice, the number of elements, and the distance between the elements. A slice_array cut from valarray `va` declared by **va**[ `slice`(2, 5, 3)] selects elements with indices 2, 5, 8, 11, and 14 from `va`. The indices must be valid for the procedure to be valid.
4545
4646
## Example
4747

docs/standard-library/valarray-class.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The class is a representation of the mathematical concept of an ordered set of v
1616

1717
- It defines numerous arithmetic operations between corresponding elements of `valarray<Type>` objects of the same type and length, such as *xarr* = cos( *yarr*) + sin( *zarr*).
1818

19-
- It defines a variety of interesting ways to subscript a `valarray<Type>` object, by overloading [operator&#91;&#93;](#op_at).
19+
- It defines a variety of interesting ways to subscript a `valarray<Type>` object, by overloading [`operator[]`](#op_at).
2020

2121
An object of class `Type`:
2222

@@ -71,9 +71,9 @@ In particular, no subtle differences may exist between copy construction and def
7171
|[operator-=](#operator-_eq)|Subtracts the elements of a specified `valarray` or a value of the element type, element-wise, from an operand `valarray`.|
7272
|[operator/=](#op_div_eq)|Divides an operand `valarray` element-wise by the elements of a specified `valarray` or a value of the element type.|
7373
|[operator=](#op_eq)|Assigns elements to a `valarray` whose values are specified either directly or as part of some other `valarray` or by a `slice_array`, `gslice_array`, `mask_array`, or `indirect_array`.|
74-
|[operator&#91;&#93;](#op_at)|Returns a reference to an element or its value at specified index or a specified subset.|
74+
|[`operator[]`](#op_at)|Returns a reference to an element or its value at specified index or a specified subset.|
7575
|[operator^=](#op_xor_eq)|Obtains the element-wise exclusive logical or operator ( `XOR`) of an array with either a specified valarray or a value of the element type.|
76-
|[operator&#124;=](#op_or_eq)|Obtains the bitwise `OR` of elements in an array either with the corresponding elements in a specified `valarray` or with a value of the element type.|
76+
|[`operator|=`](#op_or_eq)|Obtains the bitwise `OR` of elements in an array either with the corresponding elements in a specified `valarray` or with a value of the element type.|
7777
|[operator~](#op_dtor)|A unary operator that obtains the bitwise `NOT` values of each element in a `valarray`.|
7878

7979
## <a name="apply"></a> apply
@@ -1118,7 +1118,7 @@ The second member operator is the same as the first, but with an [Rvalue Referen
11181118

11191119
The third member operator replaces each element of the controlled sequence with a copy of *val*.
11201120

1121-
The remaining member operators replace those elements of the controlled sequence selected by their arguments, which are generated only by [operator&#91;&#93;](#op_at).
1121+
The remaining member operators replace those elements of the controlled sequence selected by their arguments, which are generated only by [`operator[]`](#op_at).
11221122

11231123
If the value of a member in the replacement controlled sequence depends on a member in the initial controlled sequence, the result is undefined.
11241124

docs/standard-library/vector-bool-class.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ Operations that deal with the **`bool`** type correspond to values in the contai
3737
|-|-|
3838
|[flip](#flip)|Reverses all bits in the `vector<bool>`.|
3939
|[swap](#swap)|Exchanges the elements of two `vector<bool>`s.|
40-
|[operator&#91;&#93;](#op_at)|Returns a simulated reference to the `vector<bool>` element at a specified position.|
41-
|`at`|Functions the same as the unspecialized [vector](../standard-library/vector-class.md)::at function, except that it uses the proxy class [vector\<bool>::reference](#reference_class). Also see [operator&#91;&#93;](#op_at).|
42-
|`front`|Functions the same as the unspecialized [vector](../standard-library/vector-class.md)::front function, except that it uses the proxy class [vector\<bool>::reference](#reference_class). Also see [operator&#91;&#93;](#op_at).|
43-
|`back`|Functions the same as the unspecialized [vector](../standard-library/vector-class.md)::back function, except that it uses the proxy class [vector\<bool>::reference](#reference_class). Also see [operator&#91;&#93;](#op_at).|
40+
|[`operator[]`](#op_at)|Returns a simulated reference to the `vector<bool>` element at a specified position.|
41+
|`at`|Functions the same as the unspecialized [vector](../standard-library/vector-class.md)::at function, except that it uses the proxy class [vector\<bool>::reference](#reference_class). Also see [`operator[]`](#op_at).|
42+
|`front`|Functions the same as the unspecialized [vector](../standard-library/vector-class.md)::front function, except that it uses the proxy class [vector\<bool>::reference](#reference_class). Also see [`operator[]`](#op_at).|
43+
|`back`|Functions the same as the unspecialized [vector](../standard-library/vector-class.md)::back function, except that it uses the proxy class [vector\<bool>::reference](#reference_class). Also see [`operator[]`](#op_at).|
4444
4545
### Proxy Class
4646
@@ -182,7 +182,7 @@ The `vector<bool>::reference` class is a proxy class provided by the [vector\<bo
182182

183183
### Remarks
184184

185-
A simulated reference is required because C++ does not natively allow direct references to bits. `vector<bool>` uses only one bit per element, which can be referenced by using this proxy class. However, the reference simulation is not complete because certain assignments are not valid. For example, because the address of the `vector<bool>::reference` object cannot be taken, the following code that uses [vector\<bool>::operator&#91;&#93;](#op_at) is not correct:
185+
A simulated reference is required because C++ does not natively allow direct references to bits. `vector<bool>` uses only one bit per element, which can be referenced by using this proxy class. However, the reference simulation is not complete because certain assignments are not valid. For example, because the address of the `vector<bool>::reference` object cannot be taken, the following code that uses [`vector<bool>::operator[]`](#op_at) is not correct:
186186

187187
```cpp
188188
vector<bool> vb;

0 commit comments

Comments
 (0)