Skip to content

Commit 2878d7f

Browse files
authored
Merge pull request #1057 from msebolt/format-standard-pr4
format-standard-pr4
2 parents d51bc22 + 456fa17 commit 2878d7f

31 files changed

+274
-274
lines changed

docs/standard-library/condition-variable.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ The `condition_variable_any` and `condition_variable` classes each have three me
4949

5050
- `wait_for` waits for a specified `time interval`.
5151

52-
Each of these methods has two overloaded versions. One just waits and can wake up spuriously. The other takes an additional template argument that defines a predicate. The method does not return until the predicate is `true`.
52+
Each of these methods has two overloaded versions. One just waits and can wake up spuriously. The other takes an additional template argument that defines a predicate. The method does not return until the predicate is **true**.
5353

54-
Each class also has two methods that are used to notify a condition variable that its condition is `true`.
54+
Each class also has two methods that are used to notify a condition variable that its condition is **true**.
5555

5656
- `notify_one` wakes up one of the threads that is waiting for the condition variable.
5757

docs/standard-library/conditional-class.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ using conditional_t = typename conditional<_Test, _T1, _T2>::type;
2828
2929
### Parameters
3030
31-
`B`
31+
*B*
3232
The value that determines the selected type.
3333
34-
`T1`
34+
*T1*
3535
The type result when B is true.
3636
37-
`T2`
37+
*T2*
3838
The type result when B is false.
3939
4040
## Remarks
4141
42-
The template member typedef `conditional<B, T1, T2>::type` evaluates to `T1` when `B` evaluates to `true`, and evaluates to `T2` when `B` evaluates to `false`.
42+
The template member typedef `conditional<B, T1, T2>::type` evaluates to *T1* when *B* evaluates to **true**, and evaluates to *T2* when *B* evaluates to **false**.
4343
4444
## Requirements
4545

docs/standard-library/const-mem-fun-ref-t-class.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@ class const_mem_fun_ref_t
3030
3131
### Parameters
3232
33-
`Pm`
34-
A pointer to the member function of class **Type** to be converted to a function object.
33+
*Pm*
34+
A pointer to the member function of class `Type` to be converted to a function object.
3535
36-
`left`
37-
The object that the `Pm` member function is called on.
36+
*left*
37+
The object that the *Pm* member function is called on.
3838
3939
## Return Value
4040
4141
An adaptable unary function.
4242
4343
## Remarks
4444
45-
The template class stores a copy of `Pm`, which must be a pointer to a member function of class **Type**, in a private member object. It defines its member function `operator()` as returning ( **left**.\* `Pm`)() **const**.
45+
The template class stores a copy of *Pm*, which must be a pointer to a member function of class `Type`, in a private member object. It defines its member function `operator()` as returning ( **left**.\* `Pm`)() **const**.
4646
4747
## Example
4848

docs/standard-library/const-mem-fun-t-class.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ class const_mem_fun_t : public unary_function <Type *, Result>
2929
3030
### Parameters
3131
32-
`Pm`
33-
A pointer to the member function of class **Type** to be converted to a function object.
32+
*Pm*
33+
A pointer to the member function of class `Type` to be converted to a function object.
3434
35-
`Pleft`
36-
The object that the `Pm` member function is called on.
35+
*Pleft*
36+
The object that the *Pm* member function is called on.
3737
3838
## Return Value
3939
4040
An adaptable unary function.
4141
4242
## Remarks
4343
44-
The template class stores a copy of `Pm`, which must be a pointer to a member function of class **Type**, in a private member object. It defines its member function `operator()` as returning ( `Pleft`->\* `Pm`)() **const**.
44+
The template class stores a copy of *Pm*, which must be a pointer to a member function of class `Type`, in a private member object. It defines its member function `operator()` as returning ( `Pleft`->\* `Pm`)() **const**.
4545
4646
## Example
4747

docs/standard-library/const-mem-fun1-ref-t-class.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,22 @@ class const_mem_fun1_ref_t
3030
3131
### Parameters
3232
33-
`Pm`
34-
A pointer to the member function of class **Type** to be converted to a function object.
33+
*Pm*
34+
A pointer to the member function of class `Type` to be converted to a function object.
3535
36-
`left`
37-
The **const** object that the `Pm` member function is called on.
36+
*left*
37+
The **const** object that the *Pm* member function is called on.
3838
39-
`right`
40-
The argument that is being given to `Pm`.
39+
*right*
40+
The argument that is being given to *Pm*.
4141
4242
## Return Value
4343
4444
An adaptable binary function.
4545
4646
## Remarks
4747
48-
The template class stores a copy of `Pm`, which must be a pointer to a member function of class **Type**, in a private member object. It defines its member function `operator()` as returning ( `left`.\* *Pm*)( `right`) **const**.
48+
The template class stores a copy of *Pm*, which must be a pointer to a member function of class `Type`, in a private member object. It defines its member function `operator()` as returning ( `left`.\* *Pm*)( `right`) **const**.
4949
5050
## Example
5151

docs/standard-library/const-mem-fun1-t-class.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,22 @@ class const_mem_fun1_t
3030
3131
### Parameters
3232
33-
`_Pm`
34-
A pointer to the member function of class **Type** to be converted to a function object.
33+
*_Pm*
34+
A pointer to the member function of class `Type` to be converted to a function object.
3535
36-
`_Pleft`
37-
The **const** object that the `_Pm` member function is called on.
36+
*_Pleft*
37+
The **const** object that the *_Pm* member function is called on.
3838
39-
`right`
40-
The argument that is being given to `_Pm`.
39+
*right*
40+
The argument that is being given to *_Pm*.
4141
4242
## Return Value
4343
4444
An adaptable binary function.
4545
4646
## Remarks
4747
48-
The template class stores a copy of `_Pm`, which must be a pointer to a member function of class **Type**, in a private member object. It defines its member function `operator()` as returning ( **_Pleft**->\* *Pm)(***Right**) **const**.
48+
The template class stores a copy of *_Pm*, which must be a pointer to a member function of class `Type`, in a private member object. It defines its member function `operator()` as returning ( **_Pleft**->\* *Pm)(***Right**) **const**.
4949
5050
## Example
5151

docs/standard-library/constructing-input-stream-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ If you use only the `cin` object, you do not need to construct an input stream.
2323

2424
There are two ways to create an input file stream:
2525

26-
- Use the `void` argument constructor, then call the `open` member function:
26+
- Use the **void** argument constructor, then call the `open` member function:
2727

2828
```cpp
2929
ifstream myFile; // On the stack

docs/standard-library/container-class-const-iterator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef T6 const_iterator;
2727

2828
## Remarks
2929

30-
It is described here as a synonym for the unspecified type **T6**.
30+
It is described here as a synonym for the unspecified type `T6`.
3131

3232
## See also
3333

docs/standard-library/container-class-const-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef T3 const_reference;
2727

2828
## Remarks
2929

30-
It is described here as a synonym for the unspecified type **T3** (typically **Alloc::const_reference**).
30+
It is described here as a synonym for the unspecified type `T3` (typically `Alloc::const_reference`).
3131

3232
## See also
3333

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef T8 const_reverse_iterator;
2727

2828
## Remarks
2929

30-
It is described here as a synonym for the unspecified type **T8** (typically [reverse_iterator](../standard-library/container-class-reverse-iterator.md) <[const_iterator](../standard-library/container-class-const-iterator.md)`>`).
30+
It is described here as a synonym for the unspecified type `T8` (typically [reverse_iterator](../standard-library/container-class-reverse-iterator.md) <[const_iterator](../standard-library/container-class-const-iterator.md)`>`).
3131

3232
## See also
3333

docs/standard-library/container-class-difference-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef T1 difference_type;
2727

2828
## Remarks
2929

30-
It is described here as a synonym for the unspecified type **T1** (typically **Alloc::difference_type**).
30+
It is described here as a synonym for the unspecified type `T1` (typically `Alloc::difference_type`).
3131

3232
## See also
3333

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef T5 iterator;
2727

2828
## Remarks
2929

30-
It is described here as a synonym for the unspecified type **T5**. An object of type **iterator** can be cast to an object of type [const_iterator](../standard-library/container-class-const-iterator.md).
30+
It is described here as a synonym for the unspecified type `T5`. An object of type `iterator` can be cast to an object of type [const_iterator](../standard-library/container-class-const-iterator.md).
3131

3232
## See also
3333

docs/standard-library/container-class-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef T2 reference;
2727

2828
## Remarks
2929

30-
It is described here as a synonym for the unspecified type **T2** (typically **Alloc::reference**). An object of type **reference** can be cast to an object of type [const_reference](../standard-library/container-class-const-reference.md).
30+
It is described here as a synonym for the unspecified type `T2` (typically `Alloc::reference`). An object of type `reference` can be cast to an object of type [const_reference](../standard-library/container-class-const-reference.md).
3131

3232
## See also
3333

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef T7 reverse_iterator;
2727

2828
## Remarks
2929

30-
It is described here as a synonym for the unspecified type **T7** (typically `reverse_iterator` **\<**[iterator](../standard-library/container-class-iterator.md)**>**).
30+
It is described here as a synonym for the unspecified type `T7` (typically `reverse_iterator` **\<**[iterator](../standard-library/container-class-iterator.md)**>**).
3131

3232
## See also
3333

docs/standard-library/container-class-size-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef T0 size_type;
2727

2828
## Remarks
2929

30-
It is described here as a synonym for the unspecified type **T0** (typically **Alloc::size_type**).
30+
It is described here as a synonym for the unspecified type `T0` (typically `Alloc::size_type`).
3131

3232
## See also
3333

docs/standard-library/container-class-value-type.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.workload: ["cplusplus"]
1616
> [!NOTE]
1717
> This topic is in the Visual C++ documentation as a nonfunctional example of containers used in the C++ Standard Library. For more information, see [C++ Standard Library Containers](../standard-library/stl-containers.md).
1818
19-
Acts a synonym for the template parameter **Ty**.
19+
Acts a synonym for the template parameter *Ty*.
2020

2121
## Syntax
2222

@@ -27,7 +27,7 @@ typedef T4 value_type;
2727

2828
## Remarks
2929

30-
It is described here as a synonym for the unspecified type **T4** (typically **Alloc::value_type**).
30+
It is described here as a synonym for the unspecified type `T4` (typically `Alloc::value_type`).
3131

3232
## See also
3333

docs/standard-library/ctype-char-class.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.workload: ["cplusplus"]
1414
---
1515
# ctype&lt;char&gt; Class
1616

17-
The class is an explicit specialization of template class **ctype\<CharType**> to type `char`, describing an object that can serve as a locale facet to characterize various properties of a character of type `char`.
17+
The class is an explicit specialization of template class `ctype\<CharType>` to type **char**, describing an object that can serve as a locale facet to characterize various properties of a character of type **char**.
1818

1919
## Syntax
2020

@@ -120,15 +120,15 @@ protected:
120120
121121
The explicit specialization differs from the template class in several ways:
122122
123-
- An object of class ctype< `char`> stores a pointer to the first element of a ctype mask table, an array of UCHAR_MAX + 1 elements of type **ctype_base::mask**. It also stores a Boolean object that indicates whether the array should be deleted (using `operator delete[]`) when the ctype\< **Elem**> object is destroyed.
123+
- An object of class ctype< `char`> stores a pointer to the first element of a ctype mask table, an array of UCHAR_MAX + 1 elements of type `ctype_base::mask`. It also stores a Boolean object that indicates whether the array should be deleted (using `operator delete[]`) when the ctype\< **Elem**> object is destroyed.
124124
125-
- Its sole public constructor lets you specify **tab**, the ctype mask table, and **del**, the Boolean object that is true if the array should be deleted when the ctype< `char`> object is destroyed, as well as the reference-count parameter refs.
125+
- Its sole public constructor lets you specify `tab`, the ctype mask table, and `del`, the Boolean object that is true if the array should be deleted when the ctype< `char`> object is destroyed, as well as the reference-count parameter refs.
126126
127-
- The protected member function **table** returns the stored ctype mask table.
127+
- The protected member function `table` returns the stored ctype mask table.
128128
129-
- The static member object **table_size** specifies the minimum number of elements in a ctype mask table.
129+
- The static member object `table_size` specifies the minimum number of elements in a ctype mask table.
130130
131-
- The protected static member function **classic_table**( returns the ctype mask table appropriate to the "C" locale.
131+
- The protected static member function `classic_table`( returns the ctype mask table appropriate to the "C" locale.
132132
133133
- There are no protected virtual member functions [do_is](../standard-library/ctype-class.md#do_is), [do_scan_is](../standard-library/ctype-class.md#do_scan_is), or [do_scan_not](../standard-library/ctype-class.md#do_scan_not). The corresponding public member functions perform the equivalent operations themselves.
134134

0 commit comments

Comments
 (0)