Top Qs
Timeline
Chat
Perspective

xvalue

From Wiktionary, the free dictionary

Remove ads

English

Etymology

Short for expiring value.

Noun

xvalue (plural xvalues)

  1. (programming) A value representing an object near the end of its lifetime whose resources can be reused, typically by moving them.
    Coordinate terms: lvalue, rvalue
    • 2010 March 12, William M. Miller, “A Taxonomy of Expression Value Categories”, in C++ Standards Committee Papers, pages 3, 5:
      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).
Remove ads

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads