From 1c58d93d3e0e7c02ee07adc72185487a9a46252d Mon Sep 17 00:00:00 2001 From: Andreas Krug <153394595+Andreas-Krug@users.noreply.github.com> Date: Fri, 20 Jun 2025 08:05:28 +0200 Subject: [PATCH] [expr.sub,expr.pre.incr] Add spaces around operators --- source/expressions.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/expressions.tex b/source/expressions.tex index ebc2646472..53404cbc4c 100644 --- a/source/expressions.tex +++ b/source/expressions.tex @@ -3512,7 +3512,7 @@ \tcode{\&x[0]}. \end{footnote} The expression \tcode{E1[E2]} is identical (by definition) to -\tcode{*((E1)+(E2))}, +\tcode{*((E1) + (E2))}, except that in the case of an array operand, the result is an lvalue if that operand is an lvalue and an xvalue otherwise. @@ -5134,8 +5134,8 @@ shall not be of type \cv{}~\tcode{bool}. An operand with volatile-qualified type is deprecated; see~\ref{depr.volatile.type}. -The expression \tcode{++x} is otherwise equivalent to \tcode{x+=1} and -the expression \tcode{--x} is otherwise equivalent to \tcode{x-=1}\iref{expr.assign}. +The expression \tcode{++x} is otherwise equivalent to \tcode{x += 1} and +the expression \tcode{--x} is otherwise equivalent to \tcode{x -= 1}\iref{expr.assign}. \begin{note} For postfix increment and decrement, see~\ref{expr.post.incr}. \end{note}