mercredi 26 avril 2017

Remove elements from Threads Vector

I just wrote a code snippet regarding C++11 threads. I have a class, which is storing a vector of threads (my own encapsulation). I can't find the way to remove elements from the vector. Get this error from g++ : "use of deleted function ‘Thread& Thread::operator=(const Thread&)".

Here is my class: Header File / Code

Thanks for your help !

Aucun commentaire:

Enregistrer un commentaire