vendredi 31 décembre 2021

Is it possible to move an object to a thread-function?

I can pass variables by value to a thread and by reference with std::ref( obj ). But how can I move an object to a thread ?

Aucun commentaire:

Enregistrer un commentaire