diff --git a/source/utilities.tex b/source/utilities.tex index 5087bc7290..d32220c7f6 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -5723,9 +5723,9 @@ \end{codeblock} \pnum -Any instance of \tcode{variant} at any given time either holds a value +Any object of \tcode{variant} at any given time either holds a value of one of its alternative types or holds no value. -When an instance of \tcode{variant} holds a value of alternative type \tcode{T}, +When an object of \tcode{variant} holds a value of alternative type \tcode{T}, it means that a value of type \tcode{T}, referred to as the \tcode{variant} object's \defnx{contained value}{contained value!\idxcode{variant}}, is nested within\iref{intro.object} the @@ -7137,9 +7137,9 @@ \end{codeblock} \pnum -An object of class \tcode{any} stores an instance of any type that meets the constructor requirements or it has no value, +An object of class \tcode{any} stores an object of any type that meets the constructor requirements or it has no value, and this is referred to as the \defn{state} of the class \tcode{any} object. -The stored instance is called the \defnx{contained value}{contained value!\idxcode{any}}. +The stored object is called the \defnx{contained value}{contained value!\idxcode{any}}. Two states are equivalent if either they both have no value, or they both have a value and the contained values are equivalent. \pnum