Skip to content

Commit 8af8eb8

Browse files
authored
Merge pull request MicrosoftDocs#1056 from msebolt/format-standard-pr3
format standard pr3
2 parents 35589cc + 15f459f commit 8af8eb8

30 files changed

+396
-396
lines changed

docs/standard-library/cache-chunklist-class.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ class cache_chunklist
2727
2828
|Parameter|Description|
2929
|---------------|-----------------|
30-
|`Sz`|The number of elements in the array to be allocated.|
30+
|*Sz*|The number of elements in the array to be allocated.|
3131
3232
## Remarks
3333
34-
This template class uses `operator new` to allocate chunks of raw memory, suballocating blocks to allocate storage for a memory block when needed; it stores deallocated memory blocks in a separate free list for each chunk, and uses `operator delete` to deallocate a chunk when none of its memory blocks is in use.
34+
This template class uses **operator new** to allocate chunks of raw memory, suballocating blocks to allocate storage for a memory block when needed; it stores deallocated memory blocks in a separate free list for each chunk, and uses **operator delete** to deallocate a chunk when none of its memory blocks is in use.
3535
36-
Each memory block holds `Sz` bytes of usable memory and a pointer to the chunk that it belongs to. Each chunk holds `Nelts` memory blocks, three pointers, an int and the data that `operator new` and `operator delete` require.
36+
Each memory block holds *Sz* bytes of usable memory and a pointer to the chunk that it belongs to. Each chunk holds `Nelts` memory blocks, three pointers, an int and the data that **operator new** and **operator delete** require.
3737
3838
### Constructors
3939
@@ -66,7 +66,7 @@ void *allocate(std::size_t count);
6666

6767
|Parameter|Description|
6868
|---------------|-----------------|
69-
|`count`|The number of elements in the array to be allocated.|
69+
|*count*|The number of elements in the array to be allocated.|
7070

7171
### Return Value
7272

@@ -96,8 +96,8 @@ void deallocate(void* ptr, std::size_t count);
9696
9797
|Parameter|Description|
9898
|---------------|-----------------|
99-
|`ptr`|A pointer to the first object to be deallocated from storage.|
100-
|`count`|The number of objects to be deallocated from storage.|
99+
|*ptr*|A pointer to the first object to be deallocated from storage.|
100+
|*count*|The number of objects to be deallocated from storage.|
101101
102102
### Remarks
103103

docs/standard-library/cache-freelist-class.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ class cache_freelist
2727
2828
|Parameter|Description|
2929
|---------------|-----------------|
30-
|`Sz`|The number of elements in the array to be allocated.|
31-
|`Max`|The max class representing the maximum size of the free list. This can be [max_fixed_size](../standard-library/max-fixed-size-class.md), [max_none](../standard-library/max-none-class.md), [max_unbounded](../standard-library/max-unbounded-class.md), or [max_variable_size](../standard-library/max-variable-size-class.md).|
30+
|*Sz*|The number of elements in the array to be allocated.|
31+
|*Max*|The max class representing the maximum size of the free list. This can be [max_fixed_size](../standard-library/max-fixed-size-class.md), [max_none](../standard-library/max-none-class.md), [max_unbounded](../standard-library/max-unbounded-class.md), or [max_variable_size](../standard-library/max-variable-size-class.md).|
3232
3333
## Remarks
3434
35-
The cache_freelist template class maintains a free list of memory blocks of size `Sz`. When the free list is full it uses `operator delete` to deallocate memory blocks. When the free list is empty it uses `operator new` to allocate new memory blocks. The maximum size of the free list is determined by the class max class passed in the `Max` parameter.
35+
The cache_freelist template class maintains a free list of memory blocks of size *Sz*. When the free list is full it uses **operator delete** to deallocate memory blocks. When the free list is empty it uses **operator new** to allocate new memory blocks. The maximum size of the free list is determined by the class max class passed in the *Max* parameter.
3636
37-
Each memory block holds `Sz` bytes of usable memory and the data that `operator new` and `operator delete` require.
37+
Each memory block holds *Sz* bytes of usable memory and the data that **operator new** and **operator delete** require.
3838
3939
### Constructors
4040
@@ -67,7 +67,7 @@ void *allocate(std::size_t count);
6767

6868
|Parameter|Description|
6969
|---------------|-----------------|
70-
|`count`|The number of elements in the array to be allocated.|
70+
|*count*|The number of elements in the array to be allocated.|
7171

7272
### Return Value
7373

@@ -97,8 +97,8 @@ void deallocate(void* ptr, std::size_t count);
9797
9898
|Parameter|Description|
9999
|---------------|-----------------|
100-
|`ptr`|A pointer to the first object to be deallocated from storage.|
101-
|`count`|The number of objects to be deallocated from storage.|
100+
|*ptr*|A pointer to the first object to be deallocated from storage.|
101+
|*count*|The number of objects to be deallocated from storage.|
102102
103103
### Remarks
104104

docs/standard-library/cache-suballoc-class.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ class cache_suballoc
2727
2828
|Parameter|Description|
2929
|---------------|-----------------|
30-
|`Sz`|The number of elements in the array to be allocated.|
30+
|*Sz*|The number of elements in the array to be allocated.|
3131
3232
## Remarks
3333
34-
The cache_suballoc template class stores deallocated memory blocks in a free list with unbounded length, using `freelist<sizeof(Type), max_unbounded>`, and suballocates memory blocks from a larger chunk allocated with `operator new` when the free list is empty.
34+
The cache_suballoc template class stores deallocated memory blocks in a free list with unbounded length, using `freelist<sizeof(Type), max_unbounded>`, and suballocates memory blocks from a larger chunk allocated with **operator new** when the free list is empty.
3535
36-
Each chunk holds `Sz * Nelts` bytes of usable memory and the data that `operator new` and `operator delete` require. Allocated chunks are never freed.
36+
Each chunk holds `Sz * Nelts` bytes of usable memory and the data that **operator new** and **operator delete** require. Allocated chunks are never freed.
3737
3838
### Constructors
3939
@@ -66,7 +66,7 @@ void *allocate(std::size_t count);
6666

6767
|Parameter|Description|
6868
|---------------|-----------------|
69-
|`count`|The number of elements in the array to be allocated.|
69+
|*count*|The number of elements in the array to be allocated.|
7070

7171
### Return Value
7272

@@ -96,8 +96,8 @@ void deallocate(void* ptr, std::size_t count);
9696
9797
|Parameter|Description|
9898
|---------------|-----------------|
99-
|`ptr`|A pointer to the first object to be deallocated from storage.|
100-
|`count`|The number of objects to be deallocated from storage.|
99+
|*ptr*|A pointer to the first object to be deallocated from storage.|
100+
|*count*|The number of objects to be deallocated from storage.|
101101
102102
### Remarks
103103

docs/standard-library/cauchy-distribution-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ public:
5050
### Parameters
5151
5252
*RealType*
53-
The floating-point result type, defaults to `double`. For possible types, see [\<random>](../standard-library/random.md).
53+
The floating-point result type, defaults to **double**. For possible types, see [\<random>](../standard-library/random.md).
5454
5555
*URNG*
5656
The uniform random number generator engine. For possible types, see [\<random>](../standard-library/random.md).
5757
5858
## Remarks
5959
60-
The template class describes a distribution that produces values of a user-specified floating-point type, or type `double` if none is provided, distributed according to the Cauchy Distribution. The following table links to articles about individual members.
60+
The template class describes a distribution that produces values of a user-specified floating-point type, or type **double** if none is provided, distributed according to the Cauchy Distribution. The following table links to articles about individual members.
6161
6262
||||
6363
|-|-|-|

docs/standard-library/char-traits-char-struct.md

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

17-
A struct that is a specialization of the template struct **char_traits\<CharType>** to an element of type `char`.
17+
A struct that is a specialization of the template struct **char_traits\<CharType>** to an element of type **char**.
1818

1919
## Syntax
2020

@@ -25,7 +25,7 @@ struct char_traits<char>;
2525
2626
## Remarks
2727
28-
Specialization allows the struct to take advantage of library functions that manipulate objects of this type `char`.
28+
Specialization allows the struct to take advantage of library functions that manipulate objects of this type **char**.
2929
3030
## Example
3131

0 commit comments

Comments
 (0)