I'd like to have std::shared_ptr<std::tuple<MyClass, std::mutex>>.
std::shared_ptr<std::tuple<MyClass, std::mutex>>
std::mutex is neither copyable nor movable. How to initialize it?
Aucun commentaire:
Enregistrer un commentaire