mercredi 22 avril 2015

Why there is move constructor at all? [on hold]

What is ideology under the fact that move does not keep original instance and requires to copy pointers or raw data (and makes RAII (object destruction) so much more complex operation)? Why there is no clear rvalue ownership passing between scopes (besides C pointers)?

Aucun commentaire:

Enregistrer un commentaire