tmp/tmp62m7e4hj/{from.md → to.md}
RENAMED
|
@@ -109,11 +109,11 @@ size_t max_blocks_per_chunk;
|
|
| 109 |
The maximum number of blocks that will be allocated at once from the
|
| 110 |
upstream memory resource [[mem.res.monotonic.buffer]] to replenish a
|
| 111 |
pool. If the value of `max_blocks_per_chunk` is zero or is greater than
|
| 112 |
an *implementation-defined* limit, that limit is used instead. The
|
| 113 |
implementation may choose to use a smaller value than is specified in
|
| 114 |
-
this
|
| 115 |
|
| 116 |
``` cpp
|
| 117 |
size_t largest_required_pool_block;
|
| 118 |
```
|
| 119 |
|
|
@@ -121,11 +121,11 @@ The largest allocation size that is required to be fulfilled using the
|
|
| 121 |
pooling mechanism. Attempts to allocate a single block larger than this
|
| 122 |
threshold will be allocated directly from the upstream memory resource.
|
| 123 |
If `largest_required_pool_block` is zero or is greater than an
|
| 124 |
*implementation-defined* limit, that limit is used instead. The
|
| 125 |
implementation may choose a pass-through threshold larger than specified
|
| 126 |
-
in this
|
| 127 |
|
| 128 |
#### Constructors and destructors <a id="mem.res.pool.ctor">[[mem.res.pool.ctor]]</a>
|
| 129 |
|
| 130 |
``` cpp
|
| 131 |
synchronized_pool_resource(const pool_options& opts, memory_resource* upstream);
|
|
|
|
| 109 |
The maximum number of blocks that will be allocated at once from the
|
| 110 |
upstream memory resource [[mem.res.monotonic.buffer]] to replenish a
|
| 111 |
pool. If the value of `max_blocks_per_chunk` is zero or is greater than
|
| 112 |
an *implementation-defined* limit, that limit is used instead. The
|
| 113 |
implementation may choose to use a smaller value than is specified in
|
| 114 |
+
this member and may use different values for different pools.
|
| 115 |
|
| 116 |
``` cpp
|
| 117 |
size_t largest_required_pool_block;
|
| 118 |
```
|
| 119 |
|
|
|
|
| 121 |
pooling mechanism. Attempts to allocate a single block larger than this
|
| 122 |
threshold will be allocated directly from the upstream memory resource.
|
| 123 |
If `largest_required_pool_block` is zero or is greater than an
|
| 124 |
*implementation-defined* limit, that limit is used instead. The
|
| 125 |
implementation may choose a pass-through threshold larger than specified
|
| 126 |
+
in this member.
|
| 127 |
|
| 128 |
#### Constructors and destructors <a id="mem.res.pool.ctor">[[mem.res.pool.ctor]]</a>
|
| 129 |
|
| 130 |
``` cpp
|
| 131 |
synchronized_pool_resource(const pool_options& opts, memory_resource* upstream);
|