From 584bf07ece167970a2c56c3b289a382d2ff6209d Mon Sep 17 00:00:00 2001 From: Alisdair Meredith Date: Fri, 22 Aug 2025 11:46:35 -0400 Subject: [PATCH 1/2] [basic.pre] Clarify definition of variable Reorder the positive and negative terms to avoid confusion with the binding of "other than". While grammatically the current wording is precise and correct, I have run into several folks misreading this and wondering why references to objects are not variables. --- source/basic.tex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/basic.tex b/source/basic.tex index a1b8f00cb2..0ef81128d7 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -113,8 +113,12 @@ \pnum A \defn{variable} is introduced by the declaration of -a reference other than a non-static data member or of +\begin{itemize} +\item +a reference other than a non-static data member, or +\item an object. +\end{itemize} \pnum An \defn{entity} is a From 877d3740f3d9eaa1f213a16d075ec3ec5f620f9a Mon Sep 17 00:00:00 2001 From: Alisdair Meredith Date: Fri, 22 Aug 2025 15:34:26 -0400 Subject: [PATCH 2/2] Update source/basic.tex Co-authored-by: Jens Maurer --- source/basic.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/basic.tex b/source/basic.tex index 0ef81128d7..80ff2d5326 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -115,7 +115,7 @@ declaration of \begin{itemize} \item -a reference other than a non-static data member, or +a reference other than a non-static data member or \item an object. \end{itemize}