Skip to content

Commit c774ac4

Browse files
authored
[basic.life] Change "complete const object" to "const, complete object" (#5818)
"Complete object" is a defined term (https://eel.is/c++draft/basic#def:complete_object). Putting "const" in the middle of that leaves it ambiguous whether we are referring to a const-qualified "complete object", or to a complete const object with some other meaning of "complete" (such as "with a complete type").
1 parent 6070381 commit c774ac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/basic.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3516,7 +3516,7 @@
35163516
\item $o_1$ and $o_2$ are of the same type
35173517
(ignoring the top-level cv-qualifiers), and
35183518

3519-
\item $o_1$ is not a complete const object, and
3519+
\item $o_1$ is not a const, complete object, and
35203520

35213521
\item neither $o_1$ nor $o_2$
35223522
is a potentially-overlapping subobject\iref{intro.object}, and
@@ -3587,7 +3587,7 @@
35873587
\end{example}
35883588

35893589
\pnum
3590-
Creating a new object within the storage that a const complete
3590+
Creating a new object within the storage that a const, complete
35913591
object with static, thread, or automatic storage duration occupies,
35923592
or within the storage that such a const object used to occupy before
35933593
its lifetime ended, results in undefined behavior.

0 commit comments

Comments
 (0)