I’m kind of aware that this is less of a question and more of a discussion, but I believe one or more answers can be provided, so here you go. I have a class like so class MyAwesomeObject { public: std::mutex theListMutex; std::list<int> theList; }; Now, I believe the intention is quite obvious, and the [...]
The post std:mutex’es as members of objects that will go into containers? appeared first on BlogoSfera.