xvalue en · NOUN
Etymology
Short for expiring value.
Meanings
-
A value representing an object near the end of its lifetime whose resources can be reused, typically by moving them.
Together, xvalues and lvalues are called “glvalues” (“generalized” lvalues). Rvalues, as currently known in the core language clauses, are renamed to “prvalues” (“pure” rvalues). Together, prvalues and xvalues are called “rvalues,” reflecting the use of that term in the library clauses and the intended uses in reference binding, overload resolution, and template argument deduction. […] An xvalue is the result of certain kinds of expressions involving rvalue references (8.3.2).
2010 March 12, William M. Miller, “A Taxonomy of Expression Value Categories”, in C++ Standards Committee Papers, pages 3, 5:
Forms
| Spelling | Features | Labels | Source |
|---|---|---|---|
| xvalues | Number=Plur | lexicographic |