Top Qs
Timeline
Chat
Perspective

lvalue

From Wiktionary, the free dictionary

Remove ads

English

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.

Pronunciation

  • Audio (UK):(file)
  • IPA(key): /ˈɛl.væl.juː/
  • Hyphenation: l‧val‧ue

Noun

lvalue (plural lvalues)

  1. (programming) A value that can be treated as an address or storage location.
    Antonym: rvalue
    Hypernym: rvalue
    • 2010 March 12, William M. Miller, “A Taxonomy of Expression Value Categories”, in C++ Standards Committee Papers, page 1:
      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 April, Bjarne Stroustrup, “"New" Value Terminology”, in stroustrup.com, pages 2, 3:
      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.

Anagrams

Remove ads

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads