mardi 5 avril 2016

How to place std::mutex inside std::tuple with some other classes?

I'd like to have std::shared_ptr<std::tuple<MyClass, std::mutex>>.

std::mutex is neither copyable nor movable. How to initialize it?

Aucun commentaire:

Enregistrer un commentaire