Skip to content

Commit de37491

Browse files
committed
CWG3242 Rephrase sentence to avoid "shall"
Fixes ISO/CS 066 (C++26 DIS)
1 parent 0a5d2ad commit de37491

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎source/expressions.tex‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8470,8 +8470,12 @@
84708470

84718471
\pnum
84728472
If the value being stored in an object is read via another object that
8473-
overlaps in any way the storage of the first object, then the overlap shall be
8474-
exact and the two objects shall have the same type, otherwise the behavior is
8473+
overlaps in any way the storage of the first object, and
8474+
\begin{itemize}
8475+
\item the overlap is not exact or
8476+
\item the two objects do not have the same type,
8477+
\end{itemize}
8478+
the behavior is
84758479
undefined\ubdef{expr.assign.overlap}.
84768480
\begin{note}
84778481
This restriction applies to the relationship

0 commit comments

Comments
 (0)