Skip to content

Commit

Permalink
[ptr.align] Use math font 'X' for the object (#7367)
Browse files Browse the repository at this point in the history
  • Loading branch information
jensmaurer authored Nov 3, 2024
1 parent a42d124 commit caec65d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/memory.tex
Original file line number Diff line number Diff line change
Expand Up @@ -839,9 +839,9 @@

\pnum
\expects
\tcode{ptr} points to an object \tcode{X} of
\tcode{ptr} points to an object $X$ of
a type similar\iref{conv.qual} to \tcode{T},
where \tcode{X} has alignment \tcode{N}\iref{basic.align}.
where $X$ has alignment \tcode{N}\iref{basic.align}.

\pnum
\returns
Expand All @@ -853,13 +853,13 @@

\pnum
\begin{note}
The alignment assumption on an object \tcode{X}
The alignment assumption on an object $X$
expressed by a call to \tcode{assume_aligned}
might result in generation of more efficient code.
It is up to the program to ensure that the assumption actually holds.
The call does not cause the implementation to verify or enforce this.
An implementation might only make the assumption
for those operations on \tcode{X} that access \tcode{X}
for those operations on $X$ that access $X$
through the pointer returned by \tcode{assume_aligned}.
\end{note}
\end{itemdescr}
Expand Down

0 comments on commit caec65d

Please sign in to comment.