dimanche 31 mai 2020

The difference between the type of a reference and its value category [duplicate]

The difference between the type of a reference and its value category

I would be grateful to have some help with this question.

Widget&& var1 = someWidget;      // here, “&&” means rvalue reference
auto&& var2 = var1;              // here, “&&” does not mean rvalue reference

Aucun commentaire:

Enregistrer un commentaire