lvalue

noun

lvalue

noun

/ˈɛl.væl.juː/

Etymology From L + value, where L stands for left-hand side (of an assignment). In the context of the C programming language it is sometimes re-explained as locator value.

1

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences A value that can be treated as an address or storage location.

  • Clarified that rvalue references to function types produce non-rref lvalues (previously stated in the general wording in 5¶6 but inadvertently contradicted in the detailed wording of 5.2.2, 5.2.9, etc.).2010 March 12, William M. Miller, “A Taxonomy of Expression Value Categories”, in C++ Standards Committee Papers, page 1:
  • im: has identity and can be moved from (e.g. the result of casting an lvalue to a rvalue reference) […] These notions simply don’t exist in Strachey’s world consisting of just rvalues and lvalues.2010 April 23, Bjarne Stroustrup, “"New" Value Terminology”, in stroustrup.com, pages 2, 3:
Related terms
prvalue, xvalue

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.