Skip to content

Commit 750da7d

Browse files
Dawn Perchikzygoloid
authored andcommitted
LWG3007 allocate_shared should rebind allocator to cv-unqualified value_type for construction
1 parent 51d1b68 commit 750da7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/utilities.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9741,7 +9741,7 @@
97419741
suitable to hold an object of type \tcode{U} and
97429742
\tcode{a2} of type \tcode{A2} is a rebound copy of
97439743
the allocator \tcode{a} passed to \tcode{allocate_shared}
9744-
such that its \tcode{value_type} is \tcode{U}.
9744+
such that its \tcode{value_type} is \tcode{remove_cv_t<U>}.
97459745
\item
97469746
When a (sub)object of non-array type \tcode{U} is specified to have
97479747
a default initial value,
@@ -9758,7 +9758,7 @@
97589758
suitable to hold an object of type \tcode{U} and
97599759
\tcode{a2} of type \tcode{A2} is a rebound copy of
97609760
the allocator \tcode{a} passed to \tcode{allocate_shared}
9761-
such that its \tcode{value_type} is \tcode{U}.
9761+
such that its \tcode{value_type} is \tcode{remove_cv_t<U>}.
97629762
\item
97639763
Array elements are initialized in ascending order of their addresses.
97649764
\item

0 commit comments

Comments
 (0)