I read the standard on xvalue. It is closely associated with rvalue reference expression. But when programming, I really cannot find scenarios that needs xvalue.
For example: function myClass&& f() return an rvalue reference. So expression f() is xvalue. But how is this useful? How can I make use of this technique in programming?
If another function myClass g() is defined, what is the difference between g() and f()?
Under what circumstances should I use f() and xvalue instead of g() prvalue?