mardi 21 juillet 2015

Is `x = std::move(x)` undefined?

Let x be of some type. Is the following line:

x = std::move(x)

undefined? Where is this in the standard and what does it say about it?

Aucun commentaire:

Enregistrer un commentaire