From caec65da4b25b0f27baddb161de04fb23128f44a Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Sun, 3 Nov 2024 21:12:32 +0100 Subject: [PATCH] [ptr.align] Use math font 'X' for the object (#7367) --- source/memory.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/memory.tex b/source/memory.tex index 3a005667b7..1260365953 100644 --- a/source/memory.tex +++ b/source/memory.tex @@ -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 @@ -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}