C++ Tip : Binding a Reference to an Rvalue

Rvalues and lvalues are a fundamental concept of [link=http://learnbyexamples.org]C++ programming[/link]. In essence, an rvalue is an expression that cannot appear on the left-hand side of an assignment expression. By contrast, an lvalue refers to an object (in its wider sense), or a chunk of memory, to which you can write a value. References can be bound to both rvalues and lvalues. However, due to the language
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories