Skip to content

Commit 1811723

Browse files
burblebeetkoeppe
authored andcommitted
CWG2922 constexpr placement-new is too permissive
1 parent fb49b41 commit 1811723

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/expressions.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7712,9 +7712,9 @@
77127712
\begin{itemize}
77137713
\item
77147714
the placement argument to the \grammarterm{new-expression} points to
7715-
an object that is pointer-interconvertible with an object of type \tcode{T} or,
7716-
if T is an array type,
7717-
with the first element of an object of type \tcode{T}, and
7715+
an object whose type is similar to \tcode{T}\iref{conv.qual} or,
7716+
if \tcode{T} is an array type,
7717+
to the first element of an object of a type similar to \tcode{T}, and
77187718
\item
77197719
the placement argument points to storage
77207720
whose duration began within the evaluation of $E$;

0 commit comments

Comments
 (0)