How to remove a `std::thread` from a container when it’s finished?
There is a std::list<std::thread>
in a class with another thread which can add some. How to handle the responsibility to remove a thread element from the list when it’s finished ?
There is a std::list<std::thread>
in a class with another thread which can add some. How to handle the responsibility to remove a thread element from the list when it’s finished ?