Skip to content

Commit 76ab1cf

Browse files
author
Dawn Perchik
committed
LWG2586 Wrong value category used in scoped_allocator_adaptor::construct()
1 parent 428d053 commit 76ab1cf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/utilities.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12988,12 +12988,12 @@
1298812988
\textit{OUTERMOST}(*this), p, std::forward<Args>(args)...)}.
1298912989

1299012990
\item Otherwise, if \tcode{uses_allocator<T, inner_allocator_type>::value} is \tcode{true} and
12991-
\tcode{is_construc\-tible<T, allocator_arg_t, inner_allocator_type, Args...>::value} is \tcode{true}, calls
12991+
\tcode{is_construc\-tible<T, allocator_arg_t, inner_allocator_type\&, Args...>::value} is \tcode{true}, calls
1299212992
\textit{OUTERMOST_ALLOC_TRAITS}(\tcode{*this})\tcode{::construct(\textit{OUTERMOST}(*this),
1299312993
p, allocator_arg,\\inner_allocator(), std::forward<Args>(args)...)}.
1299412994

1299512995
\item Otherwise, if \tcode{uses_allocator<T, inner_allocator_type>::value} is \tcode{true} and
12996-
\tcode{is_construct\-ible<T, Args..., inner_allocator_type>::value} is \tcode{true}, calls
12996+
\tcode{is_construct\-ible<T, Args..., inner_allocator_type\&>::value} is \tcode{true}, calls
1299712997
\textit{OUTERMOST_ALLOC_TRAITS}(*this)::
1299812998
\tcode{construct(\textit{OUTERMOST}(*this), p, std::forward<Args>(args)...,\\inner_allocator())}.
1299912999

@@ -13028,15 +13028,15 @@
1302813028

1302913029
\item Otherwise, if \tcode{uses_allocator<T1, inner_allocator_type>::value} is \tcode{true}
1303013030
and
13031-
\tcode{is_construct\-ible<T1, allocator_arg_t, inner_allocator_type, Args1...>::value}
13031+
\tcode{is_construct\-ible<T1, allocator_arg_t, inner_allocator_type\&, Args1...>::value}
1303213032
is
1303313033
\tcode{true}, then \tcode{xprime} is
1303413034
\tcode{tuple_cat(tuple<allocator_arg_t, inner_allocator_type\&>(
1303513035
allocator_arg, inner_allocator()), std::move(x))}.
1303613036

1303713037
\item Otherwise, if \tcode{uses_allocator<T1, inner_allocator_type>::value} is
1303813038
\tcode{true} and
13039-
\tcode{is_construct\-ible<T1, Args1..., inner_allocator_type>::value} is \tcode{true},
13039+
\tcode{is_construct\-ible<T1, Args1..., inner_allocator_type\&>::value} is \tcode{true},
1304013040
then \tcode{xprime} is
1304113041
\tcode{tuple_cat(std::move(x), tuple<inner_allocator_type\&>(inner_allocator()))}.
1304213042

@@ -13052,15 +13052,15 @@
1305213052

1305313053
\item Otherwise, if \tcode{uses_allocator<T2, inner_allocator_type>::value} is \tcode{true}
1305413054
and
13055-
\tcode{is_construct\-ible<T2, allocator_arg_t, inner_allocator_type, Args2...>::value}
13055+
\tcode{is_construct\-ible<T2, allocator_arg_t, inner_allocator_type\&, Args2...>::value}
1305613056
is
1305713057
\tcode{true}, then \tcode{yprime} is
1305813058
\tcode{tuple_cat(tuple<allocator_arg_t, inner_allocator_type\&>(
1305913059
allocator_arg, inner_allocator()), std::move(y))}.
1306013060

1306113061
\item Otherwise, if \tcode{uses_allocator<T2, inner_allocator_type>::value} is
1306213062
\tcode{true} and
13063-
\tcode{is_construct\-ible<T2, Args2..., inner_allocator_type>::value} is \tcode{true},
13063+
\tcode{is_construct\-ible<T2, Args2..., inner_allocator_type\&>::value} is \tcode{true},
1306413064
then \tcode{yprime} is
1306513065
\tcode{tuple_cat(std::move(y), tuple<inner_allocator_type\&>(inner_allocator()))}.
1306613066

0 commit comments

Comments
 (0)