jeudi 23 juin 2022

What's the use of declare a named right reference in practice?

As named right reference is left variable. I don't know what's the sense of allowing declare right reference in practice like following code snippet.

Object &&ro = std::move(lo);

Aucun commentaire:

Enregistrer un commentaire