You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A `bool` indicating whether you want the stream to be frozen.
63
+
*_Freezeit*
64
+
A **bool** indicating whether you want the stream to be frozen.
65
65
66
66
### Remarks
67
67
68
68
The member function calls [rdbuf](#rdbuf) -> [freeze](../standard-library/strstreambuf-class.md#freeze)(_*Freezeit*).
69
69
70
70
### Example
71
71
72
-
See [strstreambuf::freeze](../standard-library/strstreambuf-class.md#freeze) for an example that uses **freeze**.
72
+
See [strstreambuf::freeze](../standard-library/strstreambuf-class.md#freeze) for an example that uses `freeze`.
73
73
74
74
## <aname="pcount"></a> strstream::pcount
75
75
@@ -105,7 +105,7 @@ A pointer to the stream's associated strstreambuf object.
105
105
106
106
### Remarks
107
107
108
-
The member function returns the address of the stored stream buffer of type **pointer** to [strstreambuf](../standard-library/strstreambuf-class.md).
108
+
The member function returns the address of the stored stream buffer of type `pointer` to [strstreambuf](../standard-library/strstreambuf-class.md).
109
109
110
110
### Example
111
111
@@ -129,7 +129,7 @@ The member function returns [rdbuf](#rdbuf) -> [str](../standard-library/strstre
129
129
130
130
### Example
131
131
132
-
See [strstreambuf::str](../standard-library/strstreambuf-class.md#str) for a sample that uses **str**.
132
+
See [strstreambuf::str](../standard-library/strstreambuf-class.md#str) for a sample that uses `str`.
133
133
134
134
## <a name="strstream"></a> strstream::strstream
135
135
@@ -145,22 +145,22 @@ strstream(char* ptr,
145
145
146
146
### Parameters
147
147
148
-
`count`
148
+
*count*
149
149
The size of the buffer.
150
150
151
-
`_Mode`
151
+
*_Mode*
152
152
The input and output mode of the buffer. See [ios_base::openmode](../standard-library/ios-base-class.md#openmode) for more information.
153
153
154
-
`ptr`
154
+
*ptr*
155
155
The buffer.
156
156
157
157
### Remarks
158
158
159
-
Both constructors initialize the base class by calling [streambuf](../standard-library/streambuf-typedefs.md#streambuf)( **sb**), where **sb** is the stored object of class [strstreambuf](../standard-library/strstreambuf-class.md). The first constructor also initializes **sb** by calling [strstreambuf](../standard-library/strstreambuf-class.md#strstreambuf). The second constructor initializes the base class one of two ways:
159
+
Both constructors initialize the base class by calling [streambuf](../standard-library/streambuf-typedefs.md#streambuf)( **sb**), where `sb` is the stored object of class [strstreambuf](../standard-library/strstreambuf-class.md). The first constructor also initializes `sb` by calling [strstreambuf](../standard-library/strstreambuf-class.md#strstreambuf). The second constructor initializes the base class one of two ways:
160
160
161
-
- If `_Mode` & **ios_base::app**== 0, then `ptr` must designate the first element of an array of `count` elements, and the constructor calls `strstreambuf`( `ptr`, `count`, `ptr`).
161
+
- If `_Mode` & **ios_base::app**== 0, then *ptr* must designate the first element of an array of `count` elements, and the constructor calls `strstreambuf`( `ptr`, `count`, `ptr`).
162
162
163
-
- Otherwise, `ptr` must designate the first element of an array of count elements that contains a C string whose first element is designated by `ptr`, and the constructor calls `strstreambuf`( `ptr`, `count`, `ptr` + `strlen`( `ptr`) ).
163
+
- Otherwise, *ptr* must designate the first element of an array of count elements that contains a C string whose first element is designated by *ptr*, and the constructor calls `strstreambuf`( `ptr`, `count`, `ptr` + `strlen`( `ptr`) ).
Copy file name to clipboardexpand all lines: docs/standard-library/strstream.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ms.workload: ["cplusplus"]
14
14
---
15
15
# <strstream>
16
16
17
-
Defines several classes that support iostreams operations on sequences stored in an allocated array of `char` object. Such sequences are easily converted to and from C strings.
17
+
Defines several classes that support iostreams operations on sequences stored in an allocated array of **char** object. Such sequences are easily converted to and from C strings.
18
18
19
19
## Syntax
20
20
@@ -34,7 +34,7 @@ Objects of type `strstream` work with `char` *, which are C strings. Use [\<sstr
34
34
35
35
|Class|Description|
36
36
|-|-|
37
-
|[strstreambuf Class](../standard-library/strstreambuf-class.md)|The class describes a stream buffer that controls the transmission of elements to and from a sequence of elements stored in a `char` array object.|
37
+
|[strstreambuf Class](../standard-library/strstreambuf-class.md)|The class describes a stream buffer that controls the transmission of elements to and from a sequence of elements stored in a **char** array object.|
38
38
|[istrstream Class](../standard-library/istrstream-class.md)|The class describes an object that controls extraction of elements and encoded objects from a stream buffer of class [strstreambuf](../standard-library/strstreambuf-class.md).|
39
39
|[ostrstream Class](../standard-library/ostrstream-class.md)|The class describes an object that controls insertion of elements and encoded objects into a stream buffer of class [strstreambuf](../standard-library/strstreambuf-class.md).|
40
40
|[strstream Class](../standard-library/strstream-class.md)|The class describes an object that controls insertion and extraction of elements and encoded objects using a stream buffer of class [strstreambuf](../standard-library/strstreambuf-class.md).|
A `bool` indicating whether you want the stream to be frozen.
81
+
*_Freezeit*
82
+
A **bool** indicating whether you want the stream to be frozen.
83
83
84
84
### Remarks
85
85
86
-
If `_Freezeit` is true, the function alters the stored `strstreambuf` mode to make the controlled sequence frozen. Otherwise, it makes the controlled sequence not frozen.
86
+
If *_Freezeit* is true, the function alters the stored `strstreambuf` mode to make the controlled sequence frozen. Otherwise, it makes the controlled sequence not frozen.
87
87
88
88
[str](#str) implies `freeze`.
89
89
@@ -166,7 +166,7 @@ virtual int overflow(int _Meta = EOF);
166
166
167
167
### Parameters
168
168
169
-
`_Meta`
169
+
*_Meta*
170
170
The character to insert into the buffer, or `EOF`.
171
171
172
172
### Return Value
@@ -191,7 +191,7 @@ virtual int pbackfail(int _Meta = EOF);
191
191
192
192
### Parameters
193
193
194
-
`_Meta`
194
+
*_Meta*
195
195
The character to insert into the buffer, or `EOF`.
196
196
197
197
### Return Value
@@ -204,9 +204,9 @@ The protected virtual member function tries to put back an element into the inpu
204
204
205
205
If _ *Meta* == `EOF`, the element to push back is effectively the one already in the stream before the current element. Otherwise, that element is replaced by **ch** = ( `char`)\_*Meta*. The function can put back an element in various ways:
206
206
207
-
- If a putback position is available, and the element stored there compares equal to **ch**, it can decrement the next pointer for the input buffer.
207
+
- If a putback position is available, and the element stored there compares equal to `ch`, it can decrement the next pointer for the input buffer.
208
208
209
-
- If a putback position is available, and if the strstreambuf mode says the controlled sequence is modifiable, the function can store **ch** into the putback position and decrement the next pointer for the input buffer.
209
+
- If a putback position is available, and if the strstreambuf mode says the controlled sequence is modifiable, the function can store `ch` into the putback position and decrement the next pointer for the input buffer.
Determines the length of the buffer pointed to by `_Getptr`. If `_Getptr` is not an argument (first constructor form), a suggested allocation size for the buffers.
370
+
*count*
371
+
Determines the length of the buffer pointed to by *_Getptr*. If *_Getptr* is not an argument (first constructor form), a suggested allocation size for the buffers.
372
372
373
-
*_Freefunc*
373
+
*_Freefunc*
374
374
The function used to free buffer memory.
375
375
376
-
`_Getptr`
376
+
*_Getptr*
377
377
A buffer used for input.
378
378
379
-
`_Putptr`
379
+
*_Putptr*
380
380
A buffer used for output.
381
381
382
382
### Remarks
383
383
384
-
The first constructor stores a null pointer in all the pointers controlling the input buffer, the output buffer, and strstreambuf allocation. It sets the stored strstreambuf mode to make the controlled sequence modifiable and extendable. It also accepts `count` as a suggested initial allocation size.
384
+
The first constructor stores a null pointer in all the pointers controlling the input buffer, the output buffer, and strstreambuf allocation. It sets the stored strstreambuf mode to make the controlled sequence modifiable and extendable. It also accepts *count* as a suggested initial allocation size.
385
385
386
386
The second constructor behaves like the first, except that it stores _ *Allocfunc* as the pointer to the function to call to allocate storage and \_ *Freefunc* as the pointer to the function to call to free that storage.
387
387
@@ -465,7 +465,7 @@ If the function cannot succeed, it returns `EOF`. Otherwise, it returns the curr
465
465
466
466
### Remarks
467
467
468
-
The protected virtual member function endeavors to extract the current element **ch** from the input buffer, then advance the current stream position, and return the element as (`int`)(`unsigned char`) **ch**. It can do so in only one way: if a read position is available, it takes **ch** as the element stored in the read position and advances the next pointer for the input buffer.
468
+
The protected virtual member function endeavors to extract the current element `ch` from the input buffer, then advance the current stream position, and return the element as (`int`)(`unsigned char`) **ch**. It can do so in only one way: if a read position is available, it takes `ch` as the element stored in the read position and advances the next pointer for the input buffer.
Copy file name to clipboardexpand all lines: docs/standard-library/student-t-distribution-class.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -49,11 +49,11 @@ public:
49
49
### Parameters
50
50
51
51
*RealType*
52
-
The floating-point result type, defaults to `double`. For possible types, see [\<random>](../standard-library/random.md).
52
+
The floating-point result type, defaults to **double**. For possible types, see [\<random>](../standard-library/random.md).
53
53
54
54
## Remarks
55
55
56
-
The template class describes a distribution that produces values of a user-specified integral type, or type `double` if none is provided, distributed according to the Student's *t*-Distribution. The following table links to articles about individual members.
56
+
The template class describes a distribution that produces values of a user-specified integral type, or type **double** if none is provided, distributed according to the Student's *t*-Distribution. The following table links to articles about individual members.
Copy file name to clipboardexpand all lines: docs/standard-library/subtract-with-carry-engine-class.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -25,16 +25,16 @@ class subtract_with_carry_engine;
25
25
26
26
### Parameters
27
27
28
-
`UIntType`
28
+
*UIntType*
29
29
The unsigned integer result type. For possible types, see [\<random>](../standard-library/random.md).
30
30
31
-
`W`
31
+
*W*
32
32
**Word size**. Size of each word, in bits, of the state sequence. **Precondition**: `0 < W ≤ numeric_limits<UIntType>::digits`
33
33
34
-
`S`
34
+
*S*
35
35
**Short lag**. Number of integer values. **Precondition**: `0 < S < R`
36
36
37
-
`R`
37
+
*R*
38
38
**Long lag**. Determines recurrence in the series generated.
39
39
40
40
## Members
@@ -51,7 +51,7 @@ For more information about engine members, see [\<random>](../standard-library/r
51
51
52
52
The `substract_with_carry_engine` template class is an improvement over the [linear_congruential_engine](../standard-library/linear-congruential-engine-class.md). Neither for these engines is as fast or with as high quality results as the [mersenne_twister_engine](../standard-library/mersenne-twister-engine-class.md).
53
53
54
-
This engine produces values of a user-specified unsigned integral type using the recurrence relation ( *period*) `x(i) = (x(i - R) - x(i - S) - cy(i - 1)) mod M`, where `cy(i)` has the value `1` if `x(i - S) - x(i - R) - cy(i - 1) < 0`, otherwise `0`, and `M` has the value `2`<sup>W</sup>. The engine's state is a carry indicator plus `R` values. These values consist of the last `R` values returned if `operator()` has been called at least `R` times, otherwise the `N` values that have been returned and the last `R - N` values of the seed.
54
+
This engine produces values of a user-specified unsigned integral type using the recurrence relation ( *period*) `x(i) = (x(i - R) - x(i - S) - cy(i - 1)) mod M`, where `cy(i)` has the value `1` if `x(i - S) - x(i - R) - cy(i - 1) < 0`, otherwise `0`, and `M` has the value `2`<sup>W</sup>. The engine's state is a carry indicator plus *R* values. These values consist of the last *R* values returned if `operator()` has been called at least *R* times, otherwise the `N` values that have been returned and the last `R - N` values of the seed.
55
55
56
56
The template argument `UIntType` must be large enough to hold values up to `M - 1`.
Copy file name to clipboardexpand all lines: docs/standard-library/sync-per-container-class.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ class sync_per_container
28
28
29
29
|Parameter|Description|
30
30
|---------------|-----------------|
31
-
|`Cache`|The type of cache associated with the synchronization filter. This can be [cache_chunklist](../standard-library/cache-chunklist-class.md), [cache_freelist](../standard-library/cache-freelist-class.md), or [cache_suballoc](../standard-library/cache-suballoc-class.md).|
31
+
|*Cache*|The type of cache associated with the synchronization filter. This can be [cache_chunklist](../standard-library/cache-chunklist-class.md), [cache_freelist](../standard-library/cache-freelist-class.md), or [cache_suballoc](../standard-library/cache-suballoc-class.md).|
0 commit comments