Definitions

from Wiktionary, Creative Commons Attribution/Share-Alike License.

  • noun computing, programming A value that can be treated as an address or storage location.

Etymologies

from Wiktionary, Creative Commons Attribution/Share-Alike License

l +‎ value, where l stands for left-hand side (of an assignment).

Support

Help support Wordnik (and make this page ad-free) by adopting the word lvalue.

Examples

  • The expression "meow" is a string literal, and it is an lvalue.

    Site Home vcblog 2011

  • In either case, we set the receiver (lvalue) to a known

    eggheadcafe.com articles 2010

  • : Though I suppose an array of shape (*; *) as an lvalue might be a

    Random feeds from Syndic8.com 2009

  • The default 'is readonly' of parameters applies only to the lvalue not the referenced object.

    Random feeds from Syndic8.com 2009

  • But last year, in discussing it here, the lesson was that this is the point of having both rw and ref: the former demands an lvalue, the latter does not.

    Random feeds from Syndic8.com 2009

  • Though I suppose an array of shape (*; *) as an lvalue might be a constraint allowing assignment only of another 2D array?

    Random feeds from Syndic8.com 2009

  • As for what happens in the latter case under various conditions .... some people might expect a soft conversion to an assignable lvalue that just gets lost and doesn't actually affect the caller.

    Random feeds from Syndic8.com 2009

  • But I'm not sure what S06 means with "can be converted to an lvalue" in the description of the 'is rw' parameter trait.

    Random feeds from Syndic8.com 2009

  • If an attempt is made to modify an object defined with a const-qualified type through use of an lvalue with non-const-qualified type, the behavior is undefined.

    LXer Linux News 2009

  • Most languages that have a pass-by-ref mode or equivalent do in fact demand that the caller supply an lvalue, if you declare the functions intent to modify the caller's variable like that.

    Random feeds from Syndic8.com 2009

Comments

Log in or sign up to get involved in the conversation. It's quick and easy.