Skip to content

Commit a8b11bd

Browse files
authored
Merge pull request #3908 from corob-msft/docs/corob/bulk-entity-9
Remove even more square bracket entities
2 parents fe25a53 + 982807f commit a8b11bd

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

docs/standard-library/checked-array-iterator-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ int main()
161161
|[operator+](#op_add)|Adds an offset to an iterator and returns the new `checked_array_iterator` addressing the inserted element at the new offset position.|
162162
|[operator-=](#operator-_eq)|Decrements a specified offset from a `checked_array_iterator`.|
163163
|[operator-](#operator-)|Decrements an offset from an iterator and returns the new `checked_array_iterator` addressing the inserted element at the new offset position.|
164-
|[operator[]](#op_at)|Returns a reference to an element offset from the element addressed by a `checked_array_iterator` by a specified number of positions.|
164+
|[`operator[]`](#op_at)|Returns a reference to an element offset from the element addressed by a `checked_array_iterator` by a specified number of positions.|
165165

166166
## Requirements
167167

docs/standard-library/deque-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Otherwise, inserting or erasing an element invalidates all iterators and referen
106106

107107
|Name|Description|
108108
|-|-|
109-
|[operator[]](#op_at)|Returns a reference to the `deque` element at a specified position.|
109+
|[`operator[]`](#op_at)|Returns a reference to the `deque` element at a specified position.|
110110
|[operator=](#op_eq)|Replaces the elements of the `deque` with a copy of another `deque`.|
111111

112112
## <a name="allocator_type"></a> allocator_type

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ public:
4949
5050
The class describes an object that stores a reference to an object `va` of class [valarray](../standard-library/valarray-class.md)**\<Type>**, along with an object `gs` of class [gslice](../standard-library/gslice-class.md) which describes the sequence of elements to select from the `valarray<Type>` object.
5151
52-
You construct a `gslice_array<Type>` object only by writing an expression of the form [va&#91;gs&#93;](../standard-library/valarray-class.md#op_at). The member functions of class gslice_array then behave like the corresponding function signatures defined for `valarray<Type>`, except that only the sequence of selected elements is affected.
52+
You construct a `gslice_array<Type>` object only by writing an expression of the form [`va[gs]`](../standard-library/valarray-class.md#op_at). The member functions of class gslice_array then behave like the corresponding function signatures defined for `valarray<Type>`, except that only the sequence of selected elements is affected.
5353
5454
The class template is created indirectly by certain valarray operations and cannot be used directly in the program. An internal auxiliary class template instead is used by the slice subscript operator:
5555
56-
`gslice_array`\< **Type**> `valarray`\< **Type**>:: `operator[]` ( **constgslice&**).
56+
`gslice_array<Type> valarray<Type>::operator[]( const gslice& )`.
5757
5858
You construct a `gslice_array<Type>` object only by writing an expression of the form `va[gsl]`, for a slice `gsl` of valarray `va`. The member functions of class gslice_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 gslice_array is defined by the three parameters of the slice constructor, the index of the first element in the first slice, the number of elements in each slice, and the distance between the elements in each slice.
5959

docs/standard-library/hash-map-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ The iterator provided by the hash_map class is a bidirectional iterator, but the
128128
129129
|Operator|Description|
130130
|-|-|
131-
|[operator&#91;&#93;](#op_at)|Inserts an element into a `hash_map` with a specified key value.|
131+
|[`operator[]`](#op_at)|Inserts an element into a `hash_map` with a specified key value.|
132132
|[hash_map::operator=](#op_eq)|Replaces the elements of a `hash_map` with a copy of another `hash_map`.|
133133
134134
## Requirements

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An internal, auxiliary class template that supports objects that are subsets of
1616

1717
The class describes an object that stores a reference to an object `va` of class [valarray](../standard-library/valarray-class.md)**\<Type>**, along with an object `ba` of class [valarray\<bool>](../standard-library/valarray-bool-class.md), which describes the sequence of elements to select from the `valarray<Type>` object.
1818

19-
You construct a `mask_array<Type>` object only by writing an expression of the form [va&#91;ba&#93;](../standard-library/valarray-class.md#op_at). The member functions of class mask_array then behave like the corresponding function signatures defined for `valarray<Type>`, except that only the sequence of selected elements is affected.
19+
You construct a `mask_array<Type>` object only by writing an expression of the form [`va[ba]`](../standard-library/valarray-class.md#op_at). The member functions of class mask_array then behave like the corresponding function signatures defined for `valarray<Type>`, except that only the sequence of selected elements is affected.
2020

2121
The sequence consists of at most `ba.size` elements. An element *J* is included only if **ba**[ *J*] is true. Thus, there are as many elements in the sequence as there are true elements in `ba`. If `I` is the index of the lowest true element in `ba`, then **va**[ `I`] is element zero in the selected sequence.
2222

docs/standard-library/new-functions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ template <class T>
2727
### Parameters
2828
2929
*ptr*\
30-
The address of a byte in memory which holds an object whose type is similar to *T*.
30+
The address of a byte in memory that holds an object whose type is similar to *T*.
3131
3232
### Return Value
3333
@@ -65,7 +65,7 @@ The object is used as a function argument to match the parameter type [std::noth
6565

6666
### Example
6767

68-
See [operator new](../standard-library/new-operators.md#op_new) and [operator new&#91;&#93;](../standard-library/new-operators.md#op_new_arr) for examples of how `std::nothrow_t` is used as a function parameter.
68+
See [`operator new`](../standard-library/new-operators.md#op_new) and [`operator new[]`](../standard-library/new-operators.md#op_new_arr) for examples of how `std::nothrow_t` is used as a function parameter.
6969

7070
## <a name="set_new_handler"></a> set_new_handler
7171

@@ -77,7 +77,7 @@ new_handler set_new_handler(new_handler Pnew) throw();
7777
7878
### Parameters
7979
80-
*Pnew*\
80+
*`Pnew`*\
8181
The `new_handler` to be installed.
8282
8383
### Return Value
@@ -86,7 +86,7 @@ The `new_handler` to be installed.
8686
8787
### Remarks
8888
89-
The function stores *Pnew* in a static [new handler](../standard-library/new-typedefs.md#new_handler) pointer that it maintains, then returns the value previously stored in the pointer. The new handler is used by [operator new](../standard-library/new-operators.md#op_new)(**size_t**).
89+
The function stores *`Pnew`* in a static [`new` handler](../standard-library/new-typedefs.md#new_handler) pointer that it maintains, then returns the value previously stored in the pointer. The `new` handler is used by [`operator new`](../standard-library/new-operators.md#op_new).
9090
9191
### Example
9292

docs/standard-library/new-operators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ The pointer whose value is to be rendered invalid by the deletion.
5959

6060
### Remarks
6161

62-
The first function is called by an `delete[]` expression to render the value of *ptr* invalid. The function is replaceable because the program can define a function with this function signature that replaces the default version defined by the C++ Standard Library. The required behavior is to accept a value of *ptr* that is null or that was returned by an earlier call to [operator new&#91;&#93;](../standard-library/new-operators.md#op_new_arr)(**size_t**). The default behavior for a null value of *ptr* is to do nothing. Any other value of *ptr* must be a value returned earlier by a call as previously described. The default behavior for such a non-null value of *ptr* is to reclaim storage allocated by the earlier call. It is unspecified under what conditions part or all of such reclaimed storage is allocated by a subsequent call to [operator new](../standard-library/new-operators.md#op_new)(**size_t**), or to any of `calloc`(**size_t**), `malloc`(**size_t**), or `realloc`( **`void`**<strong>\*</strong>, **size_t**).
62+
The first function is called by an `delete[]` expression to render the value of *ptr* invalid. The function is replaceable because the program can define a function with this function signature that replaces the default version defined by the C++ Standard Library. The required behavior is to accept a value of *ptr* that is null or that was returned by an earlier call to [`operator new[]`](../standard-library/new-operators.md#op_new_arr)(**size_t**). The default behavior for a null value of *ptr* is to do nothing. Any other value of *ptr* must be a value returned earlier by a call as previously described. The default behavior for such a non-null value of *ptr* is to reclaim storage allocated by the earlier call. It is unspecified under what conditions part or all of such reclaimed storage is allocated by a subsequent call to [operator new](../standard-library/new-operators.md#op_new)(**size_t**), or to any of `calloc`(**size_t**), `malloc`(**size_t**), or `realloc`( **`void`**<strong>\*</strong>, **size_t**).
6363

6464
The second function is called by a placement `delete[]` expression corresponding to a `new[]` expression of the form `new[]`(**std::size_t**). It does nothing.
6565

6666
The third function is called by a placement delete expression corresponding to a `new[]` expression of the form `new[]`( **std::size_t**, **const std::nothrow_t&**). The program can define a function with this function signature that replaces the default version defined by the C++ Standard Library. The required behavior is to accept a value of *ptr* that is null or that was returned by an earlier call to operator `new[]`(**size_t**). The default behavior is to evaluate `delete[]`( `ptr`).
6767

6868
### Example
6969

70-
See [operator new&#91;&#93;](../standard-library/new-operators.md#op_new_arr) for examples of the use of `operator delete[]`.
70+
See [`operator new[]`](../standard-library/new-operators.md#op_new_arr) for examples of the use of `operator delete[]`.
7171

7272
## <a name="op_new"></a> operator new
7373

@@ -194,7 +194,7 @@ The second function is called by a placement `new[]` expression to allocate `cou
194194

195195
The third function is called by a placement `new[]` expression, of the form **`new`** ( *args*) **T**[ **N**]. Here, *args* consists of a single object pointer. The function returns `ptr`.
196196

197-
To free storage allocated by `operator new[]`, call [operator delete&#91;&#93;](../standard-library/new-operators.md#op_delete_arr).
197+
To free storage allocated by `operator new[]`, call [`operator delete[]`](../standard-library/new-operators.md#op_delete_arr).
198198

199199
For information on throwing or nonthrowing behavior of new, see [The new and delete Operators](../cpp/new-and-delete-operators.md).
200200

docs/standard-library/new.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ Some of the functions declared in this header are replaceable. The implementatio
4848

4949
|Name|Description|
5050
|-|-|
51-
|[operator delete](../standard-library/new-operators.md#op_delete)|The function called by a delete expression to deallocate storage for individual of objects.|
52-
|[operator delete&#91;&#93;](../standard-library/new-operators.md#op_delete_arr)|The function called by a delete expression to deallocate storage for an array of objects.|
53-
|[operator new](../standard-library/new-operators.md#op_new)|The function called by a new expression to allocate storage for individual objects.|
54-
|[operator new&#91;&#93;](../standard-library/new-operators.md#op_new_arr)|The function called by a new expression to allocate storage for an array of objects.|
51+
|[`operator delete`](../standard-library/new-operators.md#op_delete)|The function called by a delete expression to deallocate storage for individual of objects.|
52+
|[`operator delete[]`](../standard-library/new-operators.md#op_delete_arr)|The function called by a delete expression to deallocate storage for an array of objects.|
53+
|[`operator new`](../standard-library/new-operators.md#op_new)|The function called by a new expression to allocate storage for individual objects.|
54+
|[`operator new[]`](../standard-library/new-operators.md#op_new_arr)|The function called by a new expression to allocate storage for an array of objects.|
5555

5656
### Enums
5757

docs/standard-library/nothrow-t-structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ The struct helps the compiler to select the correct version of the constructor.
2222
2323
## Example
2424
25-
See [operator new](../standard-library/new-operators.md#op_new) and [operator new&#91;&#93;](../standard-library/new-operators.md#op_new_arr) for examples of how `std::nothrow_t` is used as a function parameter.
25+
See [`operator new`](../standard-library/new-operators.md#op_new) and [`operator new[]`](../standard-library/new-operators.md#op_new_arr) for examples of how `std::nothrow_t` is used as a function parameter.

0 commit comments

Comments
 (0)