Skip to content

Commit 72647e7

Browse files
committed
[mem.res] Fix namespace for definitions in std::pmr
The previous commit ad767d3 accidentally added the wrong namespace "std" instead of "std::pmr".
1 parent f993a39 commit 72647e7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/utilities.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10856,7 +10856,7 @@
1085610856

1085710857
\indexlibrary{\idxcode{memory_resource}}%
1085810858
\begin{codeblock}
10859-
namespace std {
10859+
namespace std::pmr {
1086010860
class memory_resource {
1086110861
static constexpr size_t max_align = alignof(max_align_t); // \expos
1086210862

@@ -11023,7 +11023,7 @@
1102311023

1102411024
\indexlibrary{\idxcode{polymorphic_allocator}}%
1102511025
\begin{codeblock}
11026-
namespace std {
11026+
namespace std::pmr {
1102711027
template <class Tp>
1102811028
class polymorphic_allocator {
1102911029
memory_resource* memory_rsrc; // \expos
@@ -11535,7 +11535,7 @@
1153511535
\indexlibrary{\idxcode{synchronized_pool_resource}}%
1153611536
\indexlibrary{\idxcode{unsynchronized_pool_resource}}%
1153711537
\begin{codeblock}
11538-
namespace std {
11538+
namespace std::pmr {
1153911539
struct pool_options {
1154011540
size_t max_blocks_per_chunk = 0;
1154111541
size_t largest_required_pool_block = 0;
@@ -11838,7 +11838,7 @@
1183811838

1183911839
\indexlibrary{\idxcode{monotonic_buffer_resource}}%
1184011840
\begin{codeblock}
11841-
namespace std {
11841+
namespace std::pmr {
1184211842
class monotonic_buffer_resource : public memory_resource {
1184311843
memory_resource *upstream_rsrc; // \expos
1184411844
void *current_buffer; // \expos

0 commit comments

Comments
 (0)