Skip to content

Commit 97430e8

Browse files
jensmaurertkoeppe
authored andcommitted
[allocator.adaptor.members] Fix select_on_container_copy_construction
The description was confusing objects and types.
1 parent 03b9040 commit 97430e8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

source/utilities.tex

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16126,10 +16126,12 @@
1612616126
\begin{itemdescr}
1612716127
\pnum
1612816128
\returns
16129-
A new \tcode{scoped_allocator_adaptor} object where each allocator \tcode{A} in the
16130-
adaptor is initialized from the result of calling
16131-
\tcode{allocator_traits<A>::select_on_container_copy_construction()} on the
16132-
corresponding allocator in \tcode{*this}.
16129+
A new \tcode{scoped_allocator_adaptor} object
16130+
where each allocator \tcode{a1} within the adaptor
16131+
is initialized with
16132+
\tcode{allocator_traits<A1>::select_on_container_copy_construction(a2)},
16133+
where \tcode{A1} is the type of \tcode{a1} and
16134+
\tcode{a2} is the corresponding allocator in \tcode{*this}.
1613316135
\end{itemdescr}
1613416136

1613516137
\rSec2[scoped.adaptor.operators]{Operators}

0 commit comments

Comments
 (0)