lvalue
Appearance
English
[edit]Etymology
[edit]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
[edit]Noun
[edit]lvalue (plural lvalues)
- (programming) A value that can be treated as an address or storage location.
- 2010 March 12, William M. Miller, “A Taxonomy of Expression Value Categories”, in C++ Standards Committee Papers[1], 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[2], 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.